Borderou de evaluare (job #2793042)
Utilizator | Data | 2 noiembrie 2021 18:58:48 | |
---|---|---|---|
Problema | Delfin | 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:130:72: error: expected primary-expression before '{' token
130 | if(ci>=1&&ci<=n&&cj>=0&&cj<m&&(ter[ci][cj]||ter2[ci][cj])&&{s[i][j],s[ci][cj]}!={'1','0'});
| ^
main.cpp:130:72: error: expected ')' before '{' token
130 | if(ci>=1&&ci<=n&&cj>=0&&cj<m&&(ter[ci][cj]||ter2[ci][cj])&&{s[i][j],s[ci][cj]}!={'1','0'});
| ~ ^
| )
main.cpp:130:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
130 | if(ci>=1&&ci<=n&&cj>=0&&cj<m&&(ter[ci][cj]||ter2[ci][cj])&&{s[i][j],s[ci][cj]}!={'1','0'});
| ^~
main.cpp:131:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
131 | {
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !