Borderou de evaluare (job #688750)

Utilizator avatar AndreiEsteNebun Mateescu Andrei AndreiEsteNebun IP ascuns
Problemă Forus (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 19 ian. 2023 19:19:04 Scor 73

Raport evaluator

Compilare: main.cpp: In function 'int nrdiv(int)': main.cpp:18:17: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 18 | if(i!=n/i & n%n/i==0) | ~^~~~~ main.cpp: In function 'int main()': main.cpp:73:50: warning: unused variable 'nrcunrmindiv' [-Wunused-variable] 73 | int cnt=0,nrmindiv=999999999,numar=0,nrcunrmindiv=0; | ^~~~~~~~~~~~ main.cpp: In function 'void inserare(int, int&)': main.cpp:29:13: warning: iteration 10 invokes undefined behavior [-Waggressive-loop-optimizations] 29 | v[i]=0; | ~~~~^~ main.cpp:28:18: note: within this loop 28 | for(int i=1;i<=11;i++) | ~^~~~ main.cpp:29:13: warning: 'void* __builtin_memset(void*, int, unsigned int)' forming offset [44, 47] is out of the bounds [0, 44] of object 'v' with type 'int [11]' [-Warray-bounds] 29 | v[i]=0; | ~~~~^~ main.cpp:8:5: note: 'v' declared here 8 | int v[11]; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb Pomana (pentru ca Mehedinti si Salaj sa nu para ca s-au calificat cu 10p, ci cu 30p) 10
2 1 ms 114 kb OK 6
3 1 ms 110 kb OK 6
4 1 ms 110 kb OK 6
5 8 ms 114 kb Incorect 0
6 10 ms 110 kb Incorect 0
7 1 ms 114 kb OK 9
8 8 ms 118 kb Incorect 0
9 12 ms 118 kb OK 9
10 149 ms 118 kb OK 9
11 2 ms 114 kb OK 9
12 1 ms 114 kb OK 9
Punctaj total 73