Borderou de evaluare (job #696630)

Utilizator avatar Tudor_11 Tudor Ioan Calin Tudor_11 IP ascuns
Problemă Forus (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 17 feb. 2023 18:02:24 Scor 37

Raport evaluator

Compilare: main.cpp: In function 'int divnr(int)': main.cpp:26:25: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 26 | if(i*i==n && n&i==0) div++; | ~^~~ main.cpp:27:30: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 27 | else if(i*i!=n && n&i==0) div=div+2; | ~^~~ main.cpp: In function 'int main()': main.cpp:90:23: warning: 'nr' may be used uninitialized in this function [-Wmaybe-uninitialized] 90 | fout<<nr<<" "; | ^~~
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 110 kb OK 6
3 1 ms 114 kb OK 6
4 1 ms 110 kb OK 6
5 1 ms 118 kb Incorect 0
6 7 ms 114 kb Incorect 0
7 1 ms 114 kb Incorect 0
8 18 ms 114 kb Incorect 0
9 13 ms 118 kb Incorect 0
10 209 ms 114 kb Incorect 0
11 1 ms 114 kb Incorect 0
12 1 ms 110 kb OK 9
Punctaj total 37