Borderou de evaluare (job #2160928)
Utilizator | Data | 11 martie 2018 14:45:03 | |
---|---|---|---|
Problema | Delfin | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void fromTreasure()’:
user.cpp:109:141: error: expected ‘;’ before ‘[’ token
if(Valid(newx, newy) && (!(S[line][col] == 'D' || S[line][col] == '0') && (S[newx][newy] == '1' || S[newx][newy] == 'S'))) && D3[newx][newy] == N * M + 5)
^
user.cpp:109:136: warning: statement has no effect [-Wunused-value]
if(Valid(newx, newy) && (!(S[line][col] == 'D' || S[line][col] == '0') && (S[newx][newy] == '1' || S[newx][newy] == 'S'))) && D3[newx][newy] == N * M + 5)
^
user.cpp:109:139: error: label ‘D3’ used but not defined
if(Valid(newx, newy) && (!(S[line][col] == 'D' || S[line][col] == '0') && (S[newx][newy] == '1' || S[newx][newy] == 'S'))) && D3[newx][newy] == N * M + 5)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !