Borderou de evaluare (job #724509)

Utilizator avatar calinul Cernat Calin calinul IP ascuns
Problemă Iluminat Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 21 iun. 2023 12:06:06 Scor 72

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: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 10 ms 765 kb OK 4
3 1 ms 770 kb OK 4
4 806 ms 16236 kb OK 4
5 189 ms 5226 kb OK 4
6 769 ms 16232 kb OK 4
7 649 ms 13615 kb OK 4
8 799 ms 16236 kb OK 4
9 569 ms 16228 kb OK 4
10 789 ms 16232 kb OK 4
11 179 ms 5230 kb OK 4
12 1 ms 503 kb OK 4
13 789 ms 16236 kb OK 4
14 99 ms 4177 kb OK 4
15 1 ms 245 kb OK 4
16 718 ms 16494 kb OK 4
17 1109 ms 3911 kb Time limit exceeded 0
18 1109 ms 2605 kb Time limit exceeded 0
19 1109 ms 3653 kb Time limit exceeded 0
20 488 ms 2347 kb Incorect 0
21 1 ms 245 kb OK 4
22 406 ms 4173 kb Incorect 0
23 259 ms 2080 kb OK 4
24 1109 ms 4177 kb Time limit exceeded 0
25 1106 ms 4177 kb Time limit exceeded 0
Punctaj total 72