| Problem | divideby2 |
|---|---|
| User | NoynYT |
| Submission Time | 2025-02-19 22:20:59 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
divideby2.cpp: In function ‘int main()’:
divideby2.cpp:8:26: error: invalid operands of types ‘float’ and ‘int’ to binary ‘operator%’
8 | cout<<floor(n/2)<<" "<<n%2<<"\n";
| ~^~
| | |
| | int
| float