Problem pythonlist
User jambusk
Submission Time 2025-06-18 09:29:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pythonlist.cpp: In function ‘int main()’:
pythonlist.cpp:11:11: error: expected unqualified-id before ‘=’ token
11 | for (int = 0; i < q; ++i){
| ^
pythonlist.cpp:11:10: error: expected ‘;’ before ‘=’ token
11 | for (int = 0; i < q; ++i){
| ^~
| ;
pythonlist.cpp:11:11: error: expected primary-expression before ‘=’ token
11 | for (int = 0; i < q; ++i){
| ^
pythonlist.cpp:11:16: error: ‘i’ was not declared in this scope
11 | for (int = 0; i < q; ++i){
| ^
pythonlist.cpp:11:21: error: expected ‘)’ before ‘;’ token
11 | for (int = 0; i < q; ++i){
| ~ ^
| )
pythonlist.cpp:11:25: error: ‘i’ was not declared in this scope
11 | for (int = 0; i < q; ++i){
| ^
pythonlist.cpp:28:2: error: expected ‘}’ at end of input
28 | }