Borderou de evaluare (job #2944142)
Utilizator | Data | 22 noiembrie 2022 07:47:47 | |
---|---|---|---|
Problema | Arbore partial de cost minim | 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:43:19: error: expected ';' before 'i'
43 | for(long lonng i = 1; i <= n; i++)
| ^~
| ;
main.cpp:43:20: error: 'i' was not declared in this scope
43 | for(long lonng i = 1; i <= n; i++)
| ^
main.cpp:43:33: error: expected ')' before ';' token
43 | for(long lonng i = 1; i <= n; i++)
| ~ ^
| )
main.cpp:43:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
43 | for(long lonng i = 1; i <= n; i++)
| ^~~
main.cpp:43:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
43 | for(long lonng i = 1; i <= n; i++)
| ^
main.cpp:43:14: warning: unused variable 'lonng' [-Wunused-variable]
43 | for(long lonng i = 1; i <= n; i++)
| ^~~~~
main.cpp:43:35: error: 'i' was not declared in this scope
43 | for(long lonng i = 1; i <= n; i++)
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !