Borderou de evaluare (job #1636866)
Utilizator | Data | 7 martie 2016 13:02:39 | |
---|---|---|---|
Problema | Unlock | Status | done |
Runda | Arhiva ICPC | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:24:6: error: expected unqualified-id before ‘xor’ token
char xor(int x, int y) {
^
user.cpp: In function ‘int DFS(int, int, int)’:
user.cpp:38:6: error: expected primary-expression before ‘xor’ token
if (xor(x, y) && viz[i + x][j + y] != k)
^
user.cpp:38:13: warning: left operand of comma operator has no effect [-Wunused-value]
if (xor(x, y) && viz[i + x][j + y] != k)
^
user.cpp: In function ‘int main()’:
user.cpp:55:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
user.cpp:59:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &N, &M, &K);
^
user.cpp:62:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &mat[i][j]);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !