/ Vijos /

记录详情

Wrong Answer

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)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 256.0 KiB
#2 Accepted 1ms 256.0 KiB
#3 Wrong Answer Read 1, expect 10. 1ms 384.0 KiB
#4 Wrong Answer Read 139, expect 198. 41ms 512.0 KiB
#5 Wrong Answer Read 282, expect 128. 60ms 512.0 KiB
#6 Wrong Answer Read 70, expect 329. 92ms 512.0 KiB
#7 Wrong Answer Read 465, expect 1000. 478ms 512.0 KiB
#8 Wrong Answer Read 941, expect 1500. 732ms 512.0 KiB
#9 Wrong Answer Read 1334, expect 1373. 744ms 512.0 KiB
#10 Wrong Answer Read 994, expect 311. 651ms 512.0 KiB

信息

递交者
类型
递交
题目
P1819 航空管制
语言
C++
递交时间
2022-02-15 21:44:43
评测时间
2022-02-15 21:44:43
评测机
分数
20
总耗时
2808ms
峰值内存
512.0 KiB