ant.cpp: In function 'int main()':
ant.cpp:15:16: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
O[i] = {x,i+1};
^
ant.cpp:15:8: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
O[i] = {x,i+1};
^
ant.cpp:10:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %lld %lld",&N,&L,&T);
^
ant.cpp:14:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%lld %s",&x,S);
^
ant.cpp:22:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
int V; scanf ("%d",&V);
^