sterilizing.cpp: In function 'int main()':
sterilizing.cpp:13:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("03-01.txt","r",stdin);
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
sterilizing.cpp:14:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("out.txt","w",stdout);
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
sterilizing.cpp:15:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld%lld",&N,&M,&K);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
sterilizing.cpp:17:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&arr[i]);
~~~~~^~~~~~~~~~~~~~~~
sterilizing.cpp:22:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld%lld",&i,&x,&y);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~