Problem | fractions |
---|---|
User | Kannan |
Submission Time | 2023-12-27 13:27:55 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
fractions.cpp: In function ‘int main()’:
fractions.cpp:24:31: error: invalid cast from type ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} to type ‘int’
24 | cout << int(ans[a[i].second]) << endl;
| ^