Borderou de evaluare (job #594319)

Utilizator avatar sgheorghe Gheorghe Sonia sgheorghe IP ascuns
Problemă Secvp (clasa a 7-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 4 apr. 2021 14:16:22 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:11:13: warning: 'void* __builtin_memset(void*, int, unsigned int)' forming offset 1000005 is out of the bounds [0, 1000005] of object 'prime' with type 'bool [1000005]' [-Warray-bounds] 11 | prime[i]=1; | ~~~~~~~~^~ main.cpp:5:6: note: 'prime' declared here 5 | bool prime[1000005]; | ^~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 16 ms 1306 kb OK 10
2 17 ms 1310 kb OK 10
3 29 ms 1310 kb OK 10
4 40 ms 1306 kb OK 10
5 49 ms 1437 kb OK 10
6 48 ms 1437 kb OK 10
7 63 ms 1572 kb OK 10
8 72 ms 1699 kb OK 10
9 73 ms 1699 kb OK 10
10 86 ms 1703 kb OK 10
Punctaj total 100