boat.cpp: In function 'int main()':
boat.cpp:28:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<zaatu.size(); i++){
~^~~~~~~~~~~~~
boat.cpp:32:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0; j<zaatu.size(); j++){
~^~~~~~~~~~~~~
boat.cpp:17:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
~~~~~^~~~~~~~~~
boat.cpp:19:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", a+i, b+i);
~~~~~^~~~~~~~~~~~~~~~~~