Borderou de evaluare (job #2845385)
Utilizator | Enal Gemaledin Blaugranas | Data | 7 februarie 2022 19:20:29 |
---|---|---|---|
Problema | Metrou | 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:21:28: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
21 | for(a=b=e=0LL;r=M;k=i;j=i-1;j>=0;--j) {
| ~^~
main.cpp:21:34: error: expected ')' before ';' token
21 | for(a=b=e=0LL;r=M;k=i;j=i-1;j>=0;--j) {
| ~ ^
| )
main.cpp:21:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
21 | for(a=b=e=0LL;r=M;k=i;j=i-1;j>=0;--j) {
| ^~~
main.cpp:21:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
21 | for(a=b=e=0LL;r=M;k=i;j=i-1;j>=0;--j) {
| ^
main.cpp:20:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
20 | for(t=0;t<=1;o[i][t]=r,++t)
| ^~~
main.cpp:21:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
21 | for(a=b=e=0LL;r=M;k=i;j=i-1;j>=0;--j) {
| ^
main.cpp:21:42: warning: statement has no effect [-Wunused-value]
21 | for(a=b=e=0LL;r=M;k=i;j=i-1;j>=0;--j) {
| ~^~~
main.cpp:21:49: error: expected ';' before ')' token
21 | for(a=b=e=0LL;r=M;k=i;j=i-1;j>=0;--j) {
| ^
| ;
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !