Borderou de evaluare (job #713111)

Utilizator avatar radu_pip2011 Radu Pipernea radu_pip2011 IP ascuns
Problemă Iepuraș2 (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 29 mar. 2023 08:33:21 Scor 40

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:11:18: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] 11 | for(int i=1;i<=n;i++) | ~^~~ main.cpp:47:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 47 | if(c==1) | ^~ main.cpp:49:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 49 | if(c==2) | ^~ main.cpp:72:26: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare] 72 | if(nr/(p/10)%10>=cc) | ~~~~~~~~~~~~^~~~ main.cpp:72:11: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 72 | if(nr/(p/10)%10>=cc) | ^~ main.cpp:74:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 74 | s=s+rez*(p/10); | ^ main.cpp:79:21: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare] 79 | if(nr/p%10>cc) | ~~~~~~~^~~ main.cpp:81:26: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare] 81 | else if(nr/p%10==cc) | ~~~~~~~^~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 4
2 1 ms 241 kb OK 4
3 1 ms 245 kb OK 4
4 1 ms 241 kb OK 4
5 1 ms 237 kb OK 4
6 19 ms 167 kb OK 4
7 39 ms 348 kb OK 4
8 178 ms 262 kb OK 4
9 179 ms 262 kb OK 4
10 179 ms 253 kb OK 4
11 1 ms 245 kb Incorect 0
12 1 ms 245 kb Incorect 0
13 1 ms 245 kb Incorect 0
14 1 ms 245 kb Incorect 0
15 1 ms 241 kb Incorect 0
16 1 ms 245 kb Incorect 0
17 1 ms 245 kb Incorect 0
18 1 ms 245 kb Incorect 0
19 1 ms 249 kb Incorect 0
20 29 ms 172 kb Incorect 0
21 755 ms 155 kb Incorect 0
22 759 ms 151 kb Incorect 0
23 759 ms 143 kb Incorect 0
24 770 ms 135 kb Incorect 0
25 759 ms 147 kb Incorect 0
Punctaj total 40