Problem fractions
User YSH2020
Submission Time 2023-07-23 15:56:15
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fractions.cpp: In function ‘int main()’:
fractions.cpp:20:31: error: expected ‘;’ before ‘for’
20 | reverse(la.begin(), la.end())
| ^
| ;
21 | for (long long i = 0; i < num; i++) {
| ~~~
fractions.cpp:21:27: error: ‘i’ was not declared in this scope
21 | for (long long i = 0; i < num; i++) {
| ^