Borderou de evaluare (job #2580695)
Utilizator | Data | 13 martie 2020 21:59:48 | |
---|---|---|---|
Problema | Elimin 2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int prec()':
main.cpp:18:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int c=0;c<10;c++)
^~~
main.cpp:20:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(int c=0;c<10;c++)
^~~
main.cpp:28:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int c=0;c<10;c++)
^~~
main.cpp:30:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(int c=0;c<10;c++)
^~~
main.cpp:38:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
main.cpp: In function 'int dinamica()':
main.cpp:47:9: warning: left operand of comma operator has no effect [-Wunused-value]
for(i,j;j<=lung;i++,j++)
^
main.cpp:47:10: warning: right operand of comma operator has no effect [-Wunused-value]
for(i,j;j<=lung;i++,j++)
^
main.cpp:53:6: error: expected primary-expression before '}' token
}
^
main.cpp:56:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !