Borderou de evaluare (job #2253426)
Utilizator | Data | 3 octombrie 2018 22:58:47 | |
---|---|---|---|
Problema | Figuri | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:30:1: error: ‘vector’ does not name a type
vector <rasp> sol;
^~~~~~
user.cpp: In function ‘void parcurgere()’:
user.cpp:101:13: error: ‘sol’ was not declared in this scope
sol.push_back(x);
^~~
user.cpp:104:9: error: ‘sol’ was not declared in this scope
sort(sol.begin(),sol.begin()+sol.size(),cmp);
^~~
user.cpp:105:18: error: unable to deduce ‘auto&&’ from ‘sol’
for(auto &x: sol)
^~~
user.cpp:105:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
for(auto &x: sol)
^~~
user.cpp:107:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’
fout<<maxim+1;
^~~~
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !