Problem | snail |
---|---|
User | Vinayak01 |
Submission Time | 2024-02-19 18:40:43 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
snail.cpp: In function ‘int main()’:
snail.cpp:33:19: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
33 | if(prefix[i] < h){
| ^
snail.cpp:56:21: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
56 | if( prefix[i] >= sum){
| ^~~
snail.cpp:69:21: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
69 | if( prefix[i] >= remainder){
| ^~~~~~~~~