Borderou de evaluare (job #726487)

Utilizator avatar StefanDutu Dutu Stefan StefanDutu IP ascuns
Problemă Tai (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 14 iul. 2023 10:53:01 Scor 46

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:18:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 18 | for(d=2;d*d<=a;d++) | ^~~ main.cpp:23:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 23 | if(prim==true) | ^~ main.cpp:41:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 41 | for(d=2;d*d<=a/10;d++) | ^~~ main.cpp:46:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 46 | if(prim==true) | ^~ main.cpp:61:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 61 | for(d=2;d*d<=(a/1000%10)*10+a/100%100;d++) | ^~~ main.cpp:66:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 66 | if(((a/1000%10)*10+a/100%100)%d!=0) | ^~ main.cpp:8:31: warning: unused variable 'e' [-Wunused-variable] 8 | int c,n,i,d,a,con=0,max=0,e,cnt=0,f,b; | ^ main.cpp:8:41: warning: unused variable 'b' [-Wunused-variable] 8 | int c,n,i,d,a,con=0,max=0,e,cnt=0,f,b; | ^ main.cpp:85:9: warning: 'f' may be used uninitialized [-Wmaybe-uninitialized] 85 | if(f) | ^~ main.cpp:8:39: note: 'f' was declared here 8 | int c,n,i,d,a,con=0,max=0,e,cnt=0,f,b; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Pomana (pentru ca anumite judete sa nu para ca s-au calificat cu 10p, ci cu 30p) 10
2 2 ms 245 kb OK 3
3 2 ms 245 kb OK 3
4 1 ms 245 kb OK 3
5 2 ms 507 kb OK 3
6 1 ms 245 kb OK 2
7 1 ms 245 kb OK 2
8 1 ms 245 kb OK 2
9 9 ms 245 kb OK 4
10 9 ms 249 kb OK 4
11 9 ms 245 kb OK 4
12 1 ms 245 kb Incorect 0
13 1 ms 245 kb Incorect 0
14 2 ms 507 kb Incorect 0
15 1 ms 249 kb Incorect 0
16 1 ms 245 kb Incorect 0
17 2 ms 507 kb Incorect 0
18 1 ms 245 kb OK 3
19 19 ms 245 kb Incorect 0
20 9 ms 249 kb Incorect 0
21 19 ms 245 kb Incorect 0
22 1 ms 245 kb Incorect 0
23 1 ms 241 kb Incorect 0
24 1 ms 245 kb Incorect 0
25 1 ms 249 kb Incorect 0
26 1 ms 245 kb Incorect 0
27 1 ms 241 kb OK 3
28 1 ms 245 kb Incorect 0
29 9 ms 249 kb Incorect 0
30 9 ms 249 kb Incorect 0
31 9 ms 249 kb Incorect 0
Punctaj total 46