Borderou de evaluare (job #2770093)
Utilizator | Data | 19 august 2021 13:04:02 | |
---|---|---|---|
Problema | Gandaci Java | 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:56:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i = 1; i <= n; i++);
^~~
main.cpp:57:17: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
v[i] = 0;
^
main.cpp:57:19: error: 'i' was not declared in this scope
v[i] = 0;
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !