Problem socks
User penguinzzz
Submission Time 2024-03-04 23:11:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

socks.cpp: In function ‘int main()’:
socks.cpp:20:14: error: expected ‘;’ before ‘for’
20 | } else {1
| ^
| ;
21 | for (int i = 0; i < N; ++i) {
| ~~~
socks.cpp:21:25: error: ‘i’ was not declared in this scope
21 | for (int i = 0; i < N; ++i) {
| ^