Problem pythonlist
User verychicken111
Submission Time 2026-11-05 10:53:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pythonlist.cpp:5:1: error: ‘cin’ does not name a type; did you mean ‘sin’?
5 | cin >> Q;
| ^~~
| sin
pythonlist.cpp: In function ‘int main()’:
pythonlist.cpp:7:20: error: expected ‘;’ before ‘<’ token
7 | for (int i = 0, i < Q; i++){
| ^~
| ;
pythonlist.cpp:7:21: error: expected primary-expression before ‘<’ token
7 | for (int i = 0, i < Q; i++){
| ^
pythonlist.cpp:16:15: error: ‘Y’ was not declared in this scope
16 | cout << Y;
| ^
pythonlist.cpp:20:11: error: expected ‘;’ before ‘}’ token
20 | return 0
| ^
| ;
21 | }
| ~