Borderou de evaluare (job #661782)

Utilizator avatar carena Mironov Cezar Luca carena IP ascuns
Problemă Dreptunghiuri Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 16 sept. 2022 16:24:03 Scor 40

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:31:78: warning: array subscript 2 is above array bounds of 'int [2]' [-Warray-bounds] 31 | if((sol[j]>maxs && a[j][1]>a[i][1]) && a[j][2]>a[i][2]) | ~~~~~~^ main.cpp:31:86: warning: array subscript 2 is above array bounds of 'int [2]' [-Warray-bounds] 31 | if((sol[j]>maxs && a[j][1]>a[i][1]) && a[j][2]>a[i][2]) | ~~~~~~^ main.cpp:17:50: warning: array subscript 2 is above array bounds of 'int [2]' [-Warray-bounds] 17 | if(a[i][1]*a[i][2]>a[j][1]*a[j][2]) | ~~~~~~^ main.cpp:17:66: warning: array subscript 2 is above array bounds of 'int [2]' [-Warray-bounds] 17 | if(a[i][1]*a[i][2]>a[j][1]*a[j][2]) | ~~~~~~^ main.cpp:23:47: warning: array subscript 2 is above array bounds of 'int [2]' [-Warray-bounds] 23 | a[i][2]=a[j][2]; | ~~~~~~^ main.cpp:24:47: warning: array subscript 2 is above array bounds of 'int [2]' [-Warray-bounds] 24 | a[j][2]=aux; | ~~~~~~^
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 118 kb OK 10
4 209 ms 245 kb Time limit exceeded 0
5 105 ms 249 kb OK 10
6 200 ms 638 kb Time limit exceeded 0
7 206 ms 376 kb Time limit exceeded 0
8 203 ms 901 kb Time limit exceeded 0
9 203 ms 901 kb Time limit exceeded 0
10 208 ms 905 kb Time limit exceeded 0
Punctaj total 40