Borderou de evaluare (job #3348619)

Utilizator aniela_bBarzoi Aniela aniela_b Data 22 martie 2026 23:51:34
Problema Maxd Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:31:42: warning: unused variable 'x' [-Wunused-variable] 31 | int a, b, nrdiv, minim = 1000000001, x, maxdiv = 0, contor = 0; | ^ main.cpp:38:18: warning: iteration 19 invokes undefined behavior [-Waggressive-loop-optimizations] 38 | e[j] = 0; | ~~~~~^~~ main.cpp:37:26: note: within this loop 37 | for(int j = 1; j <= 20; j++) | ~~^~~~~ main.cpp:38:18: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [80, 83] is out of the bounds [0, 80] of object 'e' with type 'int [20]' [-Warray-bounds] 38 | e[j] = 0; | ~~~~~^~~ main.cpp:7:12: note: 'e' declared here 7 | int p[20], e[20], nf; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
13ms303kbOK1040
21ms303kbOK10
30ms303kbOK10
48ms303kbOK10
51ms303kbOK1030
66ms303kbOK10
71ms303kbOK10
80ms303kbOK1030
90ms303kbOK10
108ms303kbOK10
Punctaj total100

Ceva nu functioneaza?