Pagini recente » Borderou de evaluare (job #2788518) | Borderou de evaluare (job #1162028) | Borderou de evaluare (job #983023) | Borderou de evaluare (job #2749019) | Borderou de evaluare (job #1043909)
Borderou de evaluare (job #1043909)
Raport evaluator
Compilare:
user.cpp: In function ‘int solve()’:
user.cpp:28:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if ((mat[i][j] > 0 && mat[i][j] < H) && (i > 0 && !mat[i - 1][j] || i < N - 1 && !mat[i + 1][j] || j > 0 && !mat[i][j - 1] || j < M - 1 && !mat[i][j + 1])) {
^
user.cpp:28:109: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if ((mat[i][j] > 0 && mat[i][j] < H) && (i > 0 && !mat[i - 1][j] || i < N - 1 && !mat[i + 1][j] || j > 0 && !mat[i][j - 1] || j < M - 1 && !mat[i][j + 1])) {
^
user.cpp:28:140: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if ((mat[i][j] > 0 && mat[i][j] < H) && (i > 0 && !mat[i - 1][j] || i < N - 1 && !mat[i + 1][j] || j > 0 && !mat[i][j - 1] || j < M - 1 && !mat[i][j + 1])) {
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 424kb | OK | 10 |
2 | 4ms | 628kb | OK | 10 |
3 | 212ms | 5284kb | OK | 10 |
4 | 12ms | 876kb | OK | 10 |
5 | 44ms | 2360kb | OK | 10 |
6 | 172ms | 6464kb | OK | 10 |
7 | 188ms | 5288kb | OK | 10 |
8 | 48ms | 3392kb | OK | 10 |
9 | 160ms | 4752kb | OK | 10 |
10 | 176ms | 5264kb | OK | 10 |
Punctaj total | 100 |