Problem foreveralone
User foodaholic
Submission Time 2024-10-05 11:50:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

foreveralone.cpp: In function ‘int counting(int, int, std::vector<std::pair<int, int> >&)’:
foreveralone.cpp:17:9: error: expected ‘(’ before ‘{’ token
17 | for {int i = 0 ; i<N; i++){
| ^
| (
foreveralone.cpp:17:9: error: expected primary-expression before ‘{’ token
foreveralone.cpp:23:5: error: expected primary-expression before ‘}’ token
23 | }
| ^
foreveralone.cpp:22:6: error: expected ‘;’ before ‘}’ token
22 | }
| ^
| ;
23 | }
| ~
foreveralone.cpp:23:5: error: expected primary-expression before ‘}’ token
23 | }
| ^
foreveralone.cpp:22:6: error: expected ‘)’ before ‘}’ token
22 | }
| ^
| )
23 | }
| ~
foreveralone.cpp:17:9: note: to match this ‘(’
17 | for {int i = 0 ; i<N; i++){
| ^
foreveralone.cpp:23:5