Pagini recente » Borderou de evaluare (job #2984299) | Borderou de evaluare (job #2756134) | Borderou de evaluare (job #2558018) | Borderou de evaluare (job #2506017) | Borderou de evaluare (job #3273342)
Borderou de evaluare (job #3273342)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:31:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
31 | if((a[i][j]==1&&a[i+1][j]==1&&a[i][j+1]==1||a[i][j]==1&&a[i+1][j]==1||a[i][j]==1&&a[i][j+1]==1||a[i][j]==1)&&a[i-1][j]!=1&&a[i][j-1]!=1){
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
main.cpp:31:93: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
31 | if((a[i][j]==1&&a[i+1][j]==1&&a[i][j+1]==1||a[i][j]==1&&a[i+1][j]==1||a[i][j]==1&&a[i][j+1]==1||a[i][j]==1)&&a[i-1][j]!=1&&a[i][j-1]!=1){
| ~~~~~~~~~~^~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1ms | 819kb | OK! | 10 |
2 | 2ms | 1343kb | OK! | 10 |
3 | 9ms | 3702kb | OK! | 10 |
4 | 6ms | 2392kb | OK! | 10 |
5 | 33ms | 4853kb | OK! | 10 |
6 | 44ms | 8138kb | OK! | 10 |
7 | 1ms | 1081kb | OK! | 10 |
8 | 1ms | 819kb | OK! | 10 |
9 | 34ms | 4657kb | OK! | 10 |
10 | 0ms | 303kb | OK! | 10 |
Punctaj total | 100 |