foo.cc: In function 'int main()':
foo.cc:79:44: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
79 | #define _for(i, a, b) for ( int i = (a); i < (b); ++i)
| ^
foo.cc:121:17: note: in expansion of macro '_for'
121 | _for(i,0,X.second.size()-1)
| ^~~~
foo.cc:105:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
105 | scanf("%d%d%d",&N,&M,&T);
| ~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:109:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
109 | scanf("%d%d",&ts,&id);
| ~~~~~^~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务