Borderou de evaluare (job #2417449)

Utilizator adiaioanaAdia R. adiaioana Data 29 aprilie 2019 20:47:45
Problema Palmieri Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:14:1: error: 'vector' does not name a type vector <pair <int,int> > v; ^~~~~~ main.cpp: In function 'int main()': main.cpp:22:10: error: 'v' was not declared in this scope sort(v.begin(),v.end()); ^ main.cpp: In function 'void scan()': main.cpp:42:5: error: 'v' was not declared in this scope v.push_back({mic,mic}); ^ main.cpp: In function 'void solve()': main.cpp:53:13: error: 'v' was not declared in this scope int hmx=v[1].y, wmx=0, hp=0, wp=0; ^ main.cpp:58:9: error: 'hp' was not declared in this scope hp=max(hmx,v[i].y); ^~ main.cpp:60:9: error: 'wp' was not declared in this scope wp=wmx+v[i].x-v[i-1].x; ^~ main.cpp:60:12: error: 'wmx' was not declared in this scope wp=wmx+v[i].x-v[i-1].x; ^~~ Non zero exit status: 1

Ceva nu functioneaza?