Borderou de evaluare (job #577767)

Utilizator avatar draghicipaul1 Draghici Paul draghicipaul1 IP ascuns
Problemă Diagonal (clasa a 6-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 8 ian. 2021 19:50:52 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void par1(int, int)': main.cpp:18:16: warning: NULL used in arithmetic [-Wpointer-arith] 18 | if(a[i][j]!=NULL && i<=k-1 && j<=k-2) cout<<a[i][j]; | ^~~~ main.cpp:19:21: warning: NULL used in arithmetic [-Wpointer-arith] 19 | if(a[i+1][j+1]!=NULL){ | ^~~~ main.cpp: In function 'void par2(int, int)': main.cpp:24:17: warning: NULL used in arithmetic [-Wpointer-arith] 24 | if(a[i][j]!=NULL && i<=k-1 && j<=k-2){cout<<a[i][j];} | ^~~~ main.cpp:25:21: warning: NULL used in arithmetic [-Wpointer-arith] 25 | if(a[i+1][j-1]!=NULL){ | ^~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 262 kb OK 10
2 1 ms 262 kb OK 10
3 1 ms 262 kb OK 10
4 1 ms 262 kb OK 10
5 1 ms 262 kb OK 10
6 1 ms 262 kb OK 10
7 1 ms 262 kb OK 10
8 1 ms 262 kb OK 10
9 1 ms 262 kb OK 10
10 1 ms 262 kb OK 10
Punctaj total 100