Pagini recente » Borderou de evaluare (job #793268) | Borderou de evaluare (job #513773) | Borderou de evaluare (job #1666894) | Borderou de evaluare (job #2456885) | Borderou de evaluare (job #1053638)
Borderou de evaluare (job #1053638)
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 | 5280kb | OK | 10 |
4 | 12ms | 868kb | OK | 10 |
5 | 44ms | 2368kb | OK | 10 |
6 | 176ms | 6468kb | OK | 10 |
7 | 192ms | 5284kb | OK | 10 |
8 | 48ms | 3388kb | OK | 10 |
9 | 164ms | 4752kb | OK | 10 |
10 | 176ms | 5264kb | OK | 10 |
Punctaj total | 100 |