Borderou de evaluare (job #3218876)

Utilizator PatrickvasileSoltan Cristian Patrickvasile Data 28 martie 2024 14:30:09
Problema Pamant Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:83:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 83 | for (int i = 0; i < (int) con.size(); ++ i) | ^~~ main.cpp:84:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 84 | out << con[i] << " "; out << "\n"; | ^~~ main.cpp:89:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 89 | for (int i = 0; i < (int) ans.size(); ++ i) | ^~~ main.cpp:90:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 90 | out << ans[i] << " "; out << "\n"; | ^~~ main.cpp:91:5: error: 'else' without a previous 'if' 91 | else | ^~~~ Non zero exit status: 1

Ceva nu functioneaza?