Pagini recente » Monitorul de evaluare | cifru4 | Cod sursa (job #849) | Cod sursa (job #2835554) | Borderou de evaluare (job #2184588)
Borderou de evaluare (job #2184588)
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 | 936kb | Corect | 2 |
| 2 | 0ms | 936kb | Corect | 5 |
| 3 | 0ms | 876kb | Corect | 3 |
| 4 | 0ms | 812kb | Corect | 5 |
| 5 | 0ms | 864kb | Corect | 5 |
| 6 | 0ms | 872kb | Corect | 5 |
| 7 | 0ms | 768kb | Corect | 5 |
| 8 | 0ms | 804kb | Corect | 5 |
| 9 | 0ms | 752kb | Corect | 5 |
| 10 | 0ms | 752kb | Corect | 5 |
| 11 | 0ms | 792kb | Corect | 5 |
| 12 | 0ms | 752kb | Corect | 5 |
| 13 | 0ms | 932kb | Corect | 5 |
| 14 | 0ms | 752kb | Corect | 5 |
| 15 | 0ms | 756kb | Corect | 5 |
| 16 | 0ms | 796kb | Corect | 5 |
| 17 | 0ms | 756kb | Corect | 5 |
| 18 | 0ms | 800kb | Corect | 5 |
| 19 | 0ms | 876kb | Corect | 5 |
| 20 | 0ms | 856kb | Corect | 5 |
| 21 | 0ms | 860kb | Corect | 5 |
| Punctaj total | 100 |