cake3.cpp: In function 'int main()':
cake3.cpp:27:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(ss.size()>m)
~~~~~~~~~^~
cake3.cpp:32:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(ss.size()==m)
~~~~~~~~~^~~
cake3.cpp:14:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
~~~~~^~~~~~~~~~~~~~~
cake3.cpp:16:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&arr[i].S,&arr[i].F);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~