Borderou de evaluare (job #2844799)
Utilizator | Data | 5 februarie 2022 15:09:55 | |
---|---|---|---|
Problema | Fibsmen | Status | done |
Runda | Arhiva Monthly | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:12:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
12 | for(F>>n;k=0,i=78;i;--i) {
| ~^~~
main.cpp:12:27: warning: for increment expression has no effect [-Wunused-value]
12 | for(F>>n;k=0,i=78;i;--i) {
| ^
main.cpp:12:28: error: expected ')' before ';' token
12 | for(F>>n;k=0,i=78;i;--i) {
| ~ ^
| )
main.cpp:12:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
12 | for(F>>n;k=0,i=78;i;--i) {
| ^~~
main.cpp:12:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
12 | for(F>>n;k=0,i=78;i;--i) {
| ^~
main.cpp:12:32: error: expected ';' before ')' token
12 | for(F>>n;k=0,i=78;i;--i) {
| ^
| ;
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !