Borderou de evaluare (job #3148686)
Utilizator | Data | 3 septembrie 2023 14:12:36 | |
---|---|---|---|
Problema | Grupuri | 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:28:19: error: expected ';' before 'i'
28 | for( long logn i = 1; i <= n; ++i )
| ^~
| ;
main.cpp:28:20: error: 'i' was not declared in this scope
28 | for( long logn i = 1; i <= n; ++i )
| ^
main.cpp:28:33: error: expected ')' before ';' token
28 | for( long logn i = 1; i <= n; ++i )
| ~ ^
| )
main.cpp:28:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
28 | for( long logn i = 1; i <= n; ++i )
| ^~~
main.cpp:28:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
28 | for( long logn i = 1; i <= n; ++i )
| ^~
main.cpp:28:15: warning: unused variable 'logn' [-Wunused-variable]
28 | for( long logn i = 1; i <= n; ++i )
| ^~~~
main.cpp:28:37: error: 'i' was not declared in this scope
28 | for( long logn 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 !