ant.cpp: In function 'int main()':
ant.cpp:17:43: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
int N, L, T; scanf("%d%d%d", &N, &L, &T);
^
ant.cpp:20:40: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
char c; scanf("%d %c", &p[i].x, &c);
^
ant.cpp:24:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
int I; scanf("%d", &I);
^