Borderou de evaluare (job #775195)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cifre (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 18 apr. 2024 10:53:23 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:8:30: warning: statement has no effect [-Wunused-value]
8 | n % 10000000000 / 1000000000 == milrd;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.cpp:9:28: warning: statement has no effect [-Wunused-value]
9 | n % 1000000000 / 100000000 == smil;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
main.cpp:10:26: warning: statement has no effect [-Wunused-value]
10 | n % 100000000 / 10000000 == zmil;
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
main.cpp:11:24: warning: statement has no effect [-Wunused-value]
11 | n % 10000000 / 1000000 == mil;
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
main.cpp:12:22: warning: statement has no effect [-Wunused-value]
12 | n % 1000000 / 100000 == smii;
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~
main.cpp:13:20: warning: statement has no effect [-Wunused-value]
13 | n % 100000 / 10000 == zmii;
| ~~~~~~~~~~~~~~~~~~~^~~~~~~
main.cpp:14:18: warning: statement has no effect [-Wunused-value]
14 | n % 10000 / 1000 == mii;
| ~~~~~~~~~~~~~~~~~^~~~~~
main.cpp:15:16: warning: statement has no effect [-Wunused-value]
15 | n % 1000 / 100 == s;
| ~~~~~~~~~~~~~~~^~~~
main.cpp:16:14: warning: statement has no effect [-Wunused-value]
16 | n % 100 / 10 == z;
| ~~~~~~~~~~~~~^~~~
main.cpp:17:8: warning: statement has no effect [-Wunused-value]
17 | n % 10 == u;
| ~~~~~~~^~~~
main.cpp:32:8: error: 'm' was not declared in this scope
32 | if(m == z && s == u) {
| ^
main.cpp:38:13: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
38 | if(zmii == s == u && mii == z) {
| ~~~~~^~~~
main.cpp:44:13: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
44 | if(smii == mii == z && zmii == s == u) {
| ~~~~~^~~~~~
main.cpp:44:33: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
44 | if(smii == mii == z && zmii == s == u) {
| ~~~~~^~~~
main.cpp:51:12: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
51 | if(mil == zmii == s == u && smii == mii == z) {
| ~~~~^~~~~~~
main.cpp:51:20: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
51 | if(mil == zmii == s == u && smii == mii == z) {
| ~~~~~~~~~~~~^~~~
main.cpp:51:38: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]