Borderou de evaluare (job #2417452)
Utilizator | Data | 29 aprilie 2019 20:58:01 | |
---|---|---|---|
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:39:5: error: 'v' was not declared in this scope
v.push_back({mic,mic});
^
main.cpp:55:9: error: 'hp' was not declared in this scope
hp=max(hmx,v[i].y);
^~
main.cpp:57:9: error: 'wp' was not declared in this scope
wp=wmx+v[i].x-v[i-1].x;
^~
main.cpp:57: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?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !