Borderou de evaluare (job #3336584)

Utilizator VladStroicaStroica Vlad Cristian VladStroica Data 24 ianuarie 2026 22:45:58
Problema Mxl Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:11:20: error: 'i' was not declared in this scope 11 | deque<pair<int,i>s; | ^ main.cpp:11:21: error: template argument 2 is invalid 11 | deque<pair<int,i>s; | ^ main.cpp:11:22: error: template argument 1 is invalid 11 | deque<pair<int,i>s; | ^ main.cpp:11:22: error: template argument 2 is invalid main.cpp:15:16: error: 's' was not declared in this scope 15 | while(!s.empty()) | ^ main.cpp:22:13: error: 's' was not declared in this scope 22 | if(!s.empty()) | ^ main.cpp:28:9: error: 's' was not declared in this scope 28 | s.push_back(i); | ^ main.cpp:30:12: error: 's' was not declared in this scope 30 | while(!s.empty()) | ^ main.cpp:34:17: error: 's' was not declared in this scope 34 | while(!s.empty()) | ^ main.cpp:41:13: error: 's' was not declared in this scope 41 | if(!s.empty()) | ^ main.cpp:47:9: error: 's' was not declared in this scope 47 | s.push_back(i); | ^ main.cpp:9:13: warning: unused variable 'y' [-Wunused-variable] 9 | int n,k,y; | ^ Non zero exit status: 1

Ceva nu functioneaza?