Borderou de evaluare (job #2184582)

Utilizator dragos.galeteanu2001Dragos Iulian dragos.galeteanu2001 Data 24 martie 2018 09:56:52
Problema Castel3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void markCells(int, int, int)’: user.cpp:12:32: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] if ((!((a[i][j] >> 3) & 1) == 1) && !m[i - 1][j]) markCells(i - 1 , j, nr); ^~ user.cpp:13:32: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] if ((!((a[i][j] >> 2) & 1) == 1) && !m[i][j + 1]) markCells(i, j + 1, nr); ^~ user.cpp:14:32: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] if ((!((a[i][j] >> 1) & 1) == 1) && !m[i + 1][j]) markCells(i + 1, j, nr); ^~ user.cpp:15:25: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] if ((!(a[i][j] & 1) == 1) && !m[i][j - 1]) markCells(i, j - 1, nr); ^~ user.cpp: In function ‘int main()’: user.cpp:24:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &quest, &n); ^ user.cpp:27:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms752kbKilled by signal 11(SIGSEGV).0
20ms864kbKilled by signal 11(SIGSEGV).0
30ms752kbKilled by signal 11(SIGSEGV).0
40ms872kbKilled by signal 11(SIGSEGV).0
50ms756kbKilled by signal 11(SIGSEGV).0
60ms860kbKilled by signal 11(SIGSEGV).0
70ms756kbKilled by signal 11(SIGSEGV).0
80ms932kbKilled by signal 11(SIGSEGV).0
90ms752kbKilled by signal 11(SIGSEGV).0
100ms872kbKilled by signal 11(SIGSEGV).0
110ms796kbKilled by signal 11(SIGSEGV).0
120ms864kbKilled by signal 11(SIGSEGV).0
130ms756kbKilled by signal 11(SIGSEGV).0
140ms856kbKilled by signal 11(SIGSEGV).0
150ms756kbKilled by signal 11(SIGSEGV).0
160ms880kbKilled by signal 11(SIGSEGV).0
170ms864kbKilled by signal 11(SIGSEGV).0
180ms876kbKilled by signal 11(SIGSEGV).0
190ms756kbKilled by signal 11(SIGSEGV).0
200ms756kbKilled by signal 11(SIGSEGV).0
210ms876kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?