Borderou de evaluare (job #688905)

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

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 14 invokes undefined behavior [-Waggressive-loop-optimizations] 29 | v[i]=0; | ~~~~^~ main.cpp:28:18: note: within this loop 28 | for(int i=1;i<=15;i++) | ~^~~~ main.cpp:29:13: warning: 'void* __builtin_memset(void*, int, unsigned int)' forming offset [60, 63] is out of the bounds [0, 60] of object 'v' with type 'int [15]' [-Warray-bounds] 29 | v[i]=0; | ~~~~^~ main.cpp:8:5: note: 'v' declared here 8 | int v[15]; | ^
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 114 kb OK 6
4 2 ms 114 kb OK 6
5 1 ms 114 kb Incorect 0
6 1 ms 114 kb Incorect 0
7 1 ms 110 kb Incorect 0
8 10 ms 114 kb OK 9
9 12 ms 118 kb Incorect 0
10 132 ms 241 kb Incorect 0
11 1 ms 114 kb Incorect 0
12 1 ms 114 kb Incorect 0
Punctaj total 37