Borderou de evaluare (job #637039)

Utilizator avatar Gabrielaciornea Gabriela Ciornea Gabrielaciornea IP ascuns
Problemă Diagonal (clasa a 6-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 1 mar. 2022 15:16:28 Scor 100

Raport evaluator

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