Borderou de evaluare (job #3341385)
| Utilizator | Data | 19 februarie 2026 12:49:48 | |
|---|---|---|---|
| Problema | Ciclu Eulerian | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:51:9: error: 'else' without a previous 'if'
51 | else {
| ^~~~
main.cpp:56:20: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
56 | if (sol.size() != m + 1) cout << -1;
| ~~~~~~~~~~~^~~~~~~~
main.cpp:57:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
57 | else for (int i = 0; i < sol.size() - 1; i++) cout << sol[i] << " ";
| ~~^~~~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
