/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int top2(int)':
foo.cc:44:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
foo.cc: In function 'int main()':
foo.cc:47:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d%d",&n,&m);
     ~~~~~^~~~~~~~~~~~~~
foo.cc:48:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     for(int i=1; i<=n; ++i) scanf("%d",&a[i]);
                             ~~~~~^~~~~~~~~~~~
foo.cc:51:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d%d",&x,&y);
         ~~~~~^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 2ms 460.0 KiB
#3 Wrong Answer Read 1, expect 10. 2ms 468.0 KiB
#4 Wrong Answer Read 139, expect 198. 5ms 512.0 KiB
#5 Wrong Answer Read 231, expect 128. 9ms 632.0 KiB
#6 Wrong Answer Read 10, expect 329. 18ms 664.0 KiB
#7 Wrong Answer Read 1421, expect 1000. 211ms 620.0 KiB
#8 Wrong Answer Read 816, expect 1500. 439ms 660.0 KiB
#9 Wrong Answer Read 308, expect 1373. 443ms 680.0 KiB
#10 Wrong Answer Read 211, expect 311. 446ms 684.0 KiB

信息

递交者
类型
递交
题目
P1819 航空管制
语言
C++
递交时间
2021-07-19 19:16:28
评测时间
2021-07-19 19:16:28
评测机
分数
20
总耗时
1581ms
峰值内存
684.0 KiB