Borderou de evaluare (job #2384129)
Utilizator | Data | 20 martie 2019 13:31:32 | |
---|---|---|---|
Problema | Castori | 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
vector<pair<int,int> > ev[DIM*2];
^~~~~~
main.cpp:12:25: error: ISO C++ forbids declaration of 'diag1' with no type [-fpermissive]
inline diag1(int x,int y){return x+y;}
^
main.cpp:13:25: error: ISO C++ forbids declaration of 'diag2' with no type [-fpermissive]
inline diag2(int x,int y){return y-x;}
^
main.cpp: In function 'int verifica(int)':
main.cpp:75:9: error: 'ev' was not declared in this scope
ev[dd[0][i].first].push_back(make_pair(1,i));
^~
main.cpp:80:21: error: 'ev' was not declared in this scope
for(auto it:ev[i])
^~
main.cpp:87:9: error: 'ev' was not declared in this scope
ev[i].clear();
^~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !