ant.cpp: In function 'int main()':
ant.cpp:37:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<vec.size();i++) {
^
ant.cpp:24:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld%lld",&n,&l,&t);
^
ant.cpp:28:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %c",&arr[i],&ch);
^
ant.cpp:34:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&id); id--;
^