foo.cc: In function 'void dts::main()':
foo.cc:202:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ((++tag)+1>ltmst.rec.size())
~~~~~~~~~^~~~~~~~~~~~~~~~~
foo.cc:190:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&a[i]);
~~~~~^~~~~~~~~~~~~~
foo.cc:205:11: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld%lld",&l,&r,&val);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:211:11: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld",&l,&r);
~~~~~^~~~~~~~~~~~~~~~~~
foo.cc:213:12: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&t);
~~~~~^~~~~~~~~~~
foo.cc:224:11: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&t);
~~~~~^~~~~~~~~~~