Borderou de evaluare (job #2898650)
Utilizator | Data | 7 mai 2022 11:19:31 | |
---|---|---|---|
Problema | Trans | 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:18:31: warning: for increment expression has no effect [-Wunused-value]
18 | for(x[++l]=j;;L>=F&&I[j]<I[X[L]]+A[j]-A[X[L]];--L);
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:18:58: error: expected ')' before ';' token
18 | for(x[++l]=j;;L>=F&&I[j]<I[X[L]]+A[j]-A[X[L]];--L);
| ~ ^
| )
main.cpp:18:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
18 | for(x[++l]=j;;L>=F&&I[j]<I[X[L]]+A[j]-A[X[L]];--L);
| ^~~
main.cpp:18:59: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
18 | for(x[++l]=j;;L>=F&&I[j]<I[X[L]]+A[j]-A[X[L]];--L);
| ^~
main.cpp:18:62: error: expected ';' before ')' token
18 | for(x[++l]=j;;L>=F&&I[j]<I[X[L]]+A[j]-A[X[L]];--L);
| ^
| ;
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !