Borderou de evaluare (job #2184583)

Utilizator dragos.galeteanu2001Dragos Iulian dragos.galeteanu2001 Data 24 martie 2018 09:58:58
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
10ms936kbKilled by signal 11(SIGSEGV).0
20ms756kbKilled by signal 11(SIGSEGV).0
30ms804kbKilled by signal 11(SIGSEGV).0
40ms752kbKilled by signal 11(SIGSEGV).0
50ms760kbKilled by signal 11(SIGSEGV).0
60ms872kbKilled by signal 11(SIGSEGV).0
70ms804kbKilled by signal 11(SIGSEGV).0
80ms752kbKilled by signal 11(SIGSEGV).0
90ms808kbKilled by signal 11(SIGSEGV).0
100ms872kbKilled by signal 11(SIGSEGV).0
110ms816kbKilled by signal 11(SIGSEGV).0
120ms860kbKilled by signal 11(SIGSEGV).0
130ms936kbKilled by signal 11(SIGSEGV).0
140ms872kbKilled by signal 11(SIGSEGV).0
150ms868kbKilled by signal 11(SIGSEGV).0
160ms868kbKilled by signal 11(SIGSEGV).0
170ms876kbKilled by signal 11(SIGSEGV).0
180ms792kbKilled by signal 11(SIGSEGV).0
190ms872kbKilled by signal 11(SIGSEGV).0
200ms756kbKilled by signal 11(SIGSEGV).0
210ms756kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?