Borderou de evaluare (job #727707)

Utilizator avatar calinul Cernat Calin calinul IP ascuns
Problemă Iluminat Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 31 iul. 2023 20:14:50 Scor 76

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:11:15: warning: unused variable 'il' [-Wunused-variable] 11 | int n, k, il, c, r1, c1, mmax=0, r2, c2, z, i, s1=0, s; | ^~ main.cpp:11:58: warning: unused variable 's' [-Wunused-variable] 11 | int n, k, il, c, r1, c1, mmax=0, r2, c2, z, i, s1=0, s; | ^ main.cpp:56:25: warning: array subscript 3 is above array bounds of 'int [3]' [-Warray-bounds] 56 | c2=a[mmax][3]; | ~~~~~~~~~^ main.cpp:7:20: note: while referencing 'a' 7 | int m[1002][1002], a[1000003][3]; | ^ main.cpp:19:31: warning: array subscript 3 is above array bounds of 'int [3]' [-Warray-bounds] 19 | a[m[r1][c1]][3]=c1; | ~~~~~~~~~~~~~~^ main.cpp:7:20: note: while referencing 'a' 7 | int m[1002][1002], a[1000003][3]; | ^ main.cpp:111:25: warning: array subscript 3 is above array bounds of 'int [3]' [-Warray-bounds] 111 | c2=a[mmax][3]; | ~~~~~~~~~^ main.cpp:7:20: note: while referencing 'a' 7 | int m[1002][1002], a[1000003][3]; | ^ main.cpp:66:31: warning: array subscript 3 is above array bounds of 'int [3]' [-Warray-bounds] 66 | a[m[r1][c1]][3]=c1; | ~~~~~~~~~~~~~~^ main.cpp:7:20: note: while referencing 'a' 7 | int m[1002][1002], a[1000003][3]; | ^ main.cpp:11:42: warning: 'c2' may be used uninitialized [-Wmaybe-uninitialized] 11 | int n, k, il, c, r1, c1, mmax=0, r2, c2, z, i, s1=0, s; | ^~ main.cpp:11:38: warning: 'r2' may be used uninitialized [-Wmaybe-uninitialized] 11 | int n, k, il, c, r1, c1, mmax=0, r2, c2, z, i, s1=0, s; | ^~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 4
2 1 ms 770 kb OK 4
3 6 ms 770 kb OK 4
4 787 ms 16498 kb OK 4
5 179 ms 5226 kb OK 4
6 749 ms 16232 kb OK 4
7 629 ms 13615 kb OK 4
8 769 ms 16236 kb OK 4
9 539 ms 16236 kb OK 4
10 759 ms 16232 kb OK 4
11 167 ms 5222 kb OK 4
12 1 ms 503 kb OK 4
13 759 ms 16236 kb OK 4
14 99 ms 4173 kb OK 4
15 1 ms 245 kb OK 4
16 689 ms 16236 kb OK 4
17 439 ms 3911 kb OK 4
18 119 ms 2600 kb Incorect 0
19 564 ms 3653 kb Incorect 0
20 99 ms 2338 kb Incorect 0
21 1 ms 245 kb OK 4
22 359 ms 4177 kb Incorect 0
23 79 ms 2084 kb OK 4
24 949 ms 4182 kb Incorect 0
25 979 ms 4177 kb Incorect 0
Punctaj total 76