Borderou de evaluare (job #2919164)
Utilizator | Data | 16 august 2022 09:46:29 | |
---|---|---|---|
Problema | Ceas | 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:10:24: warning: right operand of comma operator has no effect [-Wunused-value]
10 | for(j+=5,x[++k]=j,j<1440;j+=65,x[++k]=j);
| ~^~~~~
main.cpp:10:42: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
10 | for(j+=5,x[++k]=j,j<1440;j+=65,x[++k]=j);
| ~~~~~~^~
main.cpp:10:44: error: expected ';' before ')' token
10 | for(j+=5,x[++k]=j,j<1440;j+=65,x[++k]=j);
| ^
| ;
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !