Problem fractions
User dieunq1309
Submission Time 2023-07-10 11:55:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fractions.cpp: In function ‘int main()’:
fractions.cpp:27:53: error: expected ‘;’ before ‘for’
27 | sort(sortlist.begin(), sortlist.end(), paircomp)
| ^
| ;
28 | for (long long i = 0; i < N; i++)
| ~~~
fractions.cpp:28:27: error: ‘i’ was not declared in this scope
28 | for (long long i = 0; i < N; i++)
| ^