Borderou de evaluare (job #713110)

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:26:39 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:77:21: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare] 77 | if(nr/p%10>cc) | ~~~~~~~^~~ main.cpp:79:26: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare] 79 | 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 245 kb OK 4
5 1 ms 233 kb OK 4
6 19 ms 167 kb OK 4
7 29 ms 122 kb OK 4
8 179 ms 249 kb OK 4
9 179 ms 245 kb OK 4
10 178 ms 262 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 167 kb Incorect 0
21 749 ms 163 kb Incorect 0
22 757 ms 143 kb Incorect 0
23 749 ms 151 kb Incorect 0
24 759 ms 155 kb Incorect 0
25 749 ms 143 kb Incorect 0
Punctaj total 40