Borderou de evaluare (job #2957118)
Utilizator | Data | 21 decembrie 2022 18:33:14 | |
---|---|---|---|
Problema | Ninjago | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void cerinta1()':
main.cpp:82:15: error: expected ';' before 'q'
82 | viz[1] = 1
| ^
| ;
83 | q.push(1);
| ~
main.cpp:87:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<muchie>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
87 | for(int i = 0; i < g[x].size(); i++)
| ~~^~~~~~~~~~~~~
main.cpp: In function 'void cerinta2(int)':
main.cpp:106:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<muchie>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
106 | for(int i = 1; i <= v.size(); i++)
| ~~^~~~~~~~~~~
main.cpp: In function 'int getprice(char)':
main.cpp:65:1: warning: control reaches end of non-void function [-Wreturn-type]
65 | }
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !