| Problem | reinforcement |
|---|---|
| User | MasterCoder8421 |
| Submission Time | 2025-12-01 17:55:55 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
reinforcement.cpp: In function ‘int main()’:
reinforcement.cpp:244:18: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
244 | while (right >= left){
| ^~~~
reinforcement.cpp:245:27: error: invalid operands of types ‘std::ios_base& (*)(std::ios_base&)’ and ‘int’ to binary ‘operator/’
245 | ll mid = (right + left) / 2;
| ~~~~~~~~~~~~~~ ^ ~
| | |
| | int
| std::ios_base& (*)(std::ios_base&)
reinforcement.cpp:247:9: error: assignment of function ‘std::ios_base& std::left(std::ios_base&)’
247 | left = mid + 1;
| ~~~~~^~~~~~~~~