foo.cc: In function 'int main()':
foo.cc:17:22: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
17 | #define rep( i , x ) for ( int i = 0 ; i ++ < x ; )
| ^~~
foo.cc:119:5: note: in expansion of macro 'rep'
119 | rep( i , n ) printf( "%d " , ans[ i ] ) ; printf( "\n" ) ;
| ^~~
foo.cc:119:47: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
119 | rep( i , n ) printf( "%d " , ans[ i ] ) ; printf( "\n" ) ;
| ^~~~~~
foo.cc:105:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
105 | scanf( "%d%d" , &n , &m ) ;
| ~~~~~^~~~~~~~~~~~~~~~~~~~
foo.cc:107:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
107 | rep( i , n ) scanf( "%d" , ti + i ) ;
| ~~~~~^~~~~~~~~~~~~~~~~
foo.cc:111:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
111 | int s , t ; scanf( "%d%d" , &t , &s ) ;
| ~~~~~^~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务