Borderou de evaluare (job #2952588)
Utilizator | Data | 9 decembrie 2022 16:00:11 | |
---|---|---|---|
Problema | Cuiburi | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:16:1: error: expected unqualified-id before 'for'
16 | for(i=2;i<=n;i++){
| ^~~
main.cpp:16:9: error: 'i' does not name a type
16 | for(i=2;i<=n;i++){
| ^
main.cpp:16:14: error: 'i' does not name a type
16 | for(i=2;i<=n;i++){
| ^
main.cpp: In function 'int main()':
main.cpp:46:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
46 | for(i=1;i<=n;i++)
| ^~~
main.cpp:48:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
48 | l[1]=1;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !