Borderou de evaluare (job #779813)

Utilizator avatar codrin_08 Rau Codrin codrin_08 IP ascuns
Problemă Divizori (clasa a 6-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 8 iun. 2024 11:12:26 Scor 69

Raport evaluator

Compilare: main.cpp: In function 'void ciur1()': main.cpp:14:12: warning: iteration 1000000001 invokes undefined behavior [-Waggressive-loop-optimizations] 14 | ciur[i]=true; | ~~~~~~~^~~~~ main.cpp:13:16: note: within this loop 13 | for(int i=4;i<=pp;i++){ | ~^~~~ main.cpp:14:12: warning: 'void* __builtin_memset(void*, int, unsigned int)' forming offset 1000000005 is out of the bounds [0, 1000000005] of object 'ciur' with type 'bool [1000000005]' [-Warray-bounds=] 14 | ciur[i]=true; | ~~~~~~~^~~~~ main.cpp:9:6: note: 'ciur' declared here 9 | bool ciur[pp]; | ^~~~ main.cpp: In function 'int main()': main.cpp:93:32: warning: 'o' may be used uninitialized [-Wmaybe-uninitialized] 93 | cout<<h<<'\n'<<max1<<'\n'<<o; | ^ main.cpp:64:32: note: 'o' was declared here 64 | int i, n, k, nr=0, max1=0, o, h=0, y, p; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 507 kb OK 5
2 1 ms 249 kb OK 5
3 8 ms 245 kb OK 5
4 9 ms 249 kb OK 5
5 29 ms 249 kb OK 5
6 59 ms 245 kb OK 5
7 49 ms 507 kb OK 5
8 69 ms 249 kb OK 5
9 139 ms 512 kb OK 5
10 159 ms 249 kb a) OK; b) OK; c) linie incorecta 4
11 909 ms 774 kb OK 5
12 759 ms 245 kb OK 5
13 1298 ms 249 kb OK 5
14 1589 ms 249 kb OK 5
15 1606 ms 770 kb Time limit exceeded 0
16 1609 ms 249 kb Time limit exceeded 0
17 1608 ms 249 kb Time limit exceeded 0
18 1609 ms 512 kb Time limit exceeded 0
19 1609 ms 270 kb Time limit exceeded 0
20 1609 ms 770 kb Time limit exceeded 0
Punctaj total 69