Borderou de evaluare (job #3274695)
Utilizator | Data | 8 februarie 2025 10:14:23 | |
---|---|---|---|
Problema | Coins | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:36:30: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
36 | if (i & (1 << j) == 0)
| ~~~~~~~~~^~~~
main.cpp:40:48: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
40 | if (lastzero != -1 && i & (1 << j) == 1)
| ~~~~~~~~~^~~~
main.cpp:59:19: error: 'pow' was not declared in this scope
59 | nr += pow(2, i) * x;
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !