Problem seats2
User Adflhjk
Submission Time 2024-11-08 10:55:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

seats2.cpp:14:24: error: missing terminating ' character
14 | cout<<x++<<'\n";
| ^~~~~
seats2.cpp: In function ‘int32_t main()’:
seats2.cpp:10:11: error: expected ‘;’ before ‘long’
10 | cin>>S
| ^
| ;
seats2.cpp:14:19: error: ‘x’ was not declared in this scope
14 | cout<<x++<<'\n";
| ^
seats2.cpp:15:9: error: expected primary-expression before ‘}’ token
15 | }
| ^