Borderou de evaluare (job #3141146)

Utilizator octavian202Caracioni Octavian Luca octavian202 Data 12 iulie 2023 19:37:44
Problema Int Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:10:1: error: 'vector' does not name a type 10 | vector<pair<int, int> > v; | ^~~~~~ main.cpp:11:1: error: 'vector' does not name a type 11 | vector<int> res; | ^~~~~~ main.cpp: In function 'int main()': main.cpp:47:9: error: 'v' was not declared in this scope 47 | v.push_back(p); | ^ main.cpp:50:10: error: 'v' was not declared in this scope 50 | sort(v.begin(), v.end(), cmp); | ^ main.cpp:52:5: error: 'res' was not declared in this scope 52 | res.push_back(0); | ^~~ Non zero exit status: 1

Ceva nu functioneaza?