Problem gotosleep
User ILM
Submission Time 2024-11-03 18:07:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gotosleep.cpp:3:1: error: ‘cin’ does not name a type; did you mean ‘sin’?
3 | cin >> N >> T;
| ^~~
| sin
gotosleep.cpp:4:15: error: ‘N’ was not declared in this scope
4 | vector<int> L(N);
| ^
gotosleep.cpp:5:1: error: expected unqualified-id before ‘for’
5 | for(int l1 = 0;l1 < N; ++l1){
| ^~~
gotosleep.cpp:5:16: error: ‘l1’ does not name a type; did you mean ‘y1’?
5 | for(int l1 = 0;l1 < N; ++l1){
| ^~
| y1
gotosleep.cpp:5:24: error: expected unqualified-id before ‘++’ token
5 | for(int l1 = 0;l1 < N; ++l1){
| ^~
gotosleep.cpp:8:1: error: ‘cout’ does not name a type
8 | cout << N;
| ^~~~