Problem | lunchbox |
---|---|
User | christal |
Submission Time | 2023-12-16 15:44:22 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:10:9: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
10 | if(N>=k){
| ^
lunchbox.cpp:11:7: error: incompatible types in assignment of ‘int’ to ‘int [60009]’
11 | N-=k;
| ^
lunchbox.cpp:12:14: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
12 | }else if(N<k){
| ^