Pagini recente » Borderou de evaluare (job #959869) | Borderou de evaluare (job #393081) | Borderou de evaluare (job #2869472) | Borderou de evaluare (job #782766) | Borderou de evaluare (job #2184582)
Borderou de evaluare (job #2184582)
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 |
1 | 0ms | 752kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 864kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 752kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 872kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 756kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 860kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 756kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 932kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 752kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 872kb | Killed by signal 11(SIGSEGV). | 0 |
11 | 0ms | 796kb | Killed by signal 11(SIGSEGV). | 0 |
12 | 0ms | 864kb | Killed by signal 11(SIGSEGV). | 0 |
13 | 0ms | 756kb | Killed by signal 11(SIGSEGV). | 0 |
14 | 0ms | 856kb | Killed by signal 11(SIGSEGV). | 0 |
15 | 0ms | 756kb | Killed by signal 11(SIGSEGV). | 0 |
16 | 0ms | 880kb | Killed by signal 11(SIGSEGV). | 0 |
17 | 0ms | 864kb | Killed by signal 11(SIGSEGV). | 0 |
18 | 0ms | 876kb | Killed by signal 11(SIGSEGV). | 0 |
19 | 0ms | 756kb | Killed by signal 11(SIGSEGV). | 0 |
20 | 0ms | 756kb | Killed by signal 11(SIGSEGV). | 0 |
21 | 0ms | 876kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |