Borderou de evaluare (job #2184588)

Utilizator dragos.galeteanu2001Dragos Iulian dragos.galeteanu2001 Data 24 martie 2018 10:00:30
Problema Castel3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

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
10ms936kbCorect2
20ms936kbCorect5
30ms876kbCorect3
40ms812kbCorect5
50ms864kbCorect5
60ms872kbCorect5
70ms768kbCorect5
80ms804kbCorect5
90ms752kbCorect5
100ms752kbCorect5
110ms792kbCorect5
120ms752kbCorect5
130ms932kbCorect5
140ms752kbCorect5
150ms756kbCorect5
160ms796kbCorect5
170ms756kbCorect5
180ms800kbCorect5
190ms876kbCorect5
200ms856kbCorect5
210ms860kbCorect5
Punctaj total100

Ceva nu functioneaza?