Borderou de evaluare (job #792737)

Utilizator avatar emilicaweee Emanuel Pitigoi Oltean emilicaweee IP ascuns
Problemă Bec Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 3 nov. 2024 13:13:19 Scor 50

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:90:32: warning: array subscript -1 is below array bounds of 'int [200]' [-Warray-bounds=] 90 | if(mat[v[t].x][v[t].y-1]==0 && inmat(v[t].x,v[t].y-1)) | ~~~~~~~~~~~~~~~~~~~~^ main.cpp:20:5: note: while referencing 'mat' 20 | int mat[255][200]; | ^~~ main.cpp:103:26: warning: 'pretm' may be used uninitialized [-Wmaybe-uninitialized] 103 | if(Max==v[t].cant && pretm>v[t].co) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ main.cpp:35:15: note: 'pretm' was declared here 35 | int Max=-1,pretm,poz; | ^~~~~ main.cpp:126:36: warning: 'poz' may be used uninitialized [-Wmaybe-uninitialized] 126 | cout<<v[poz].x<<" "<<v[poz].y; | ^ main.cpp:35:21: note: 'poz' was declared here 35 | int Max=-1,pretm,poz; | ^~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Incorect 0
2 1 ms 249 kb OK 5
3 9 ms 249 kb OK 5
4 19 ms 270 kb Incorect 0
5 49 ms 262 kb Incorect 0
6 59 ms 507 kb Incorect 0
7 120 ms 524 kb Incorect 0
8 189 ms 507 kb Incorect 0
9 499 ms 757 kb Incorect 0
10 1 ms 266 kb OK 5
11 1 ms 245 kb Incorect 0
12 1 ms 249 kb OK 5
13 9 ms 270 kb OK 5
14 19 ms 512 kb Incorect 0
15 49 ms 245 kb OK 5
16 69 ms 503 kb OK 5
17 119 ms 503 kb OK 5
18 189 ms 512 kb OK 5
19 509 ms 737 kb Time limit exceeded 0
20 1 ms 266 kb OK 5
Punctaj total 50