Problem | sandd |
---|---|
User | TheInvadr |
Submission Time | 2023-12-14 22:06:24 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sandd.cpp: In function ‘int getPrice(int)’:
sandd.cpp:13:17: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
13 | if(sup==demand)return m;
| ^~~~~~
sandd.cpp:14:17: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
14 | if(sup>=demand)e=m-1;
| ^~~~~~