Borderou de evaluare (job #2922798)
Utilizator | Data | 10 septembrie 2022 10:04:39 | |
---|---|---|---|
Problema | Hashuri | 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:17:18: error: 'X' was not declared in this scope
17 | else if (s.find(X) == s.end()) ;
| ^
main.cpp:17:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
17 | else if (s.find(X) == s.end()) ;
| ^~
main.cpp:18:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
18 | g<<"0/n";
| ^
main.cpp:19:1: error: 'else' without a previous 'if'
19 | else
| ^~~~
main.cpp:21:13: error: expected '}' at end of input
21 | return 0;
| ^
main.cpp:9:1: note: to match this '{'
9 | {
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !