Problem fractions
User Elnathan
Submission Time 2023-12-09 15:56:49
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fractions.cpp: In function ‘int main()’:
fractions.cpp:15:80: error: ‘const struct std::pair<long double, long double>’ has no member named ‘secon’; did you mean ‘second’?
15 | cout << static_cast<int>(i.second.first) << ' ' << static_cast<int>(i.second.secon) << '\n';
| ^~~~~
| second