Pagini recente » Borderou de evaluare (job #1938573) | Borderou de evaluare (job #2847301) | Borderou de evaluare (job #377116) | Borderou de evaluare (job #1889351) | Borderou de evaluare (job #3201943)
Borderou de evaluare (job #3201943)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:112:60: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
112 | if(a[i][j] == 0 && (a[i][j-1] == 1 && j-1 >= 0 || a[i][j+1] == 1 && j+1 < m || a[i-1][j] == 1 && i-1 >=0 || a[i+1][j] == 1 && i+1 < n))
| ~~~~~~~~~~~~~~~^~~~~~~~~~~
main.cpp:112:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
112 | if(a[i][j] == 0 && (a[i][j-1] == 1 && j-1 >= 0 || a[i][j+1] == 1 && j+1 < m || a[i-1][j] == 1 && i-1 >=0 || a[i+1][j] == 1 && i+1 < n))
| ~~~~~~~~~~~~~~~^~~~~~~~~~
main.cpp:112:148: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
112 | if(a[i][j] == 0 && (a[i][j-1] == 1 && j-1 >= 0 || a[i][j+1] == 1 && j+1 < m || a[i-1][j] == 1 && i-1 >=0 || a[i+1][j] == 1 && i+1 < n))
| ~~~~~~~~~~~~~~~^~~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 303kb | Raspuns Gresit | 0 |
| 2 | 0ms | 303kb | Raspuns Gresit | 0 |
| 3 | 0ms | 303kb | Raspuns Gresit | 0 |
| 4 | 0ms | 303kb | Raspuns Gresit | 0 |
| 5 | 0ms | 303kb | Raspuns Gresit | 0 |
| 6 | 0ms | 303kb | Raspuns Gresit | 0 |
| 7 | 0ms | 303kb | Raspuns Gresit | 0 |
| 8 | 0ms | 303kb | Raspuns Gresit | 0 |
| 9 | 0ms | 303kb | Raspuns Gresit | 0 |
| 10 | 0ms | 303kb | Raspuns Gresit | 0 |
| Punctaj total | 0 |