Borderou de evaluare (job #2184572)

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

Ceva nu functioneaza?