Borderou de evaluare (job #699253)

Utilizator avatar baskar Berrin Askar baskar IP ascuns
Problemă Numere11 (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 25 feb. 2023 18:11:05 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:82:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 82 | if(x<16) | ^~ main.cpp:85:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 85 | int par=0, imp=0; | ^~~ main.cpp:116:13: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] 116 | if(nr<n && nrc!=0) | ~~^~ main.cpp:133:25: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] 133 | if(nr>=n) | ~~^~~ main.cpp:154:25: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] 154 | if(nr>=n) | ~~^~~ main.cpp:158:29: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] 158 | if(nr==n && nrc==1) | ~~^~~ main.cpp:186:19: warning: comparison of integer expressions of different signedness: 'long long int' and 'long long unsigned int' [-Wsign-compare] 186 | while(p1<=n) | ~~^~~ main.cpp:191:11: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 191 | else | ^~~~ main.cpp:193:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 193 | nr1=nr1*(p1/10); | ^~~ main.cpp:200:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 200 | if(nr1%10==0 && nr1%100/10==0 || nr1%10==1 && nr1%10==1) | ~~~~~~~~~~^~~~~~~~~~~~~~~~ main.cpp:9:41: warning: unused variable 'ok' [-Wunused-variable] 9 | unsigned long long n, c, i, p, n1,ok; | ^~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK 2
2 1 ms 106 kb OK 4
3 1 ms 114 kb OK 4
4 1 ms 114 kb OK 5
5 1 ms 114 kb OK 5
6 1 ms 114 kb OK 5
7 1 ms 110 kb OK 5
8 3 ms 114 kb OK 4
9 1 ms 114 kb OK 6
10 1 ms 110 kb OK 6
11 1 ms 114 kb OK 6
12 1 ms 114 kb OK 6
13 1 ms 110 kb OK 6
14 1 ms 114 kb OK 6
15 1 ms 114 kb OK 9
16 1 ms 114 kb OK 6
17 1 ms 114 kb OK 8
18 1 ms 110 kb OK 7
Punctaj total 100