Borderou de evaluare (job #702828)

Utilizator avatar apoputoaievlad Apoputoaie Vlad Cristian apoputoaievlad IP ascuns
Problemă Grupe2 (clasa a 7-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 8 mar. 2023 11:39:47 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:17:30: warning: unused variable 'g' [-Wunused-variable] 17 | int n,m,i,j,ma=0,poz=0,x,g=0; | ^ main.cpp:40:45: warning: array subscript 2 is above array bounds of 'int [2]' [-Warray-bounds] 40 | fout<<i<<" "<<d[i][1]<<" "<<d[i][2]<<"\n"; | ^~~~ main.cpp:5:15: note: while referencing 'd' 5 | int b[100001],d[130][2]; | ^ main.cpp:42:14: warning: array subscript 2 is above array bounds of 'int [2]' [-Warray-bounds] 42 | d[i][2]=0; | ~~~~~~^ main.cpp:5:15: note: while referencing 'd' 5 | int b[100001],d[130][2]; | ^ main.cpp:58:46: warning: array subscript 2 is above array bounds of 'int [2]' [-Warray-bounds] 58 | fout<<i<<" "<<d[i][1]<<" "<<d[i][2]<<"\n"; | ^~~~ main.cpp:5:15: note: while referencing 'd' 5 | int b[100001],d[130][2]; | ^ main.cpp:27:27: warning: array subscript 2 is above array bounds of 'int [2]' [-Warray-bounds] 27 | d[a][2]=max(d[a][2],x); | ~~~~~~^ main.cpp:5:15: note: while referencing 'd' 5 | int b[100001],d[130][2]; | ^ main.cpp:27:15: warning: array subscript 2 is above array bounds of 'int [2]' [-Warray-bounds] 27 | d[a][2]=max(d[a][2],x); | ~~~~~~^ main.cpp:5:15: note: while referencing 'd' 5 | int b[100001],d[130][2]; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 507 kb OK 10
2 1 ms 512 kb OK 10
3 1 ms 507 kb OK 10
4 1 ms 512 kb OK 10
5 1 ms 507 kb OK 10
6 1 ms 507 kb OK 10
7 1 ms 507 kb OK 10
8 1 ms 507 kb OK 10
9 1 ms 507 kb OK 10
10 1 ms 507 kb OK 10
Punctaj total 100