记录详情

Wrong Answer

foo.cc: In function 'bool cmp(part, part)':
foo.cc:14:1: warning: control reaches end of non-void function [-Wreturn-type]
   14 | }
      | ^
foo.cc: In function 'int main()':
foo.cc:20:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   20 |  scanf("%d",&n);
      |  ~~~~~^~~~~~~~~
foo.cc:23:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   23 |   scanf("%d%d",&a[i].li,&a[i].wi);
      |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 384.0 KiB
#2 Wrong Answer Read 3, expect 1. 5ms 256.0 KiB
#3 Wrong Answer Read 6, expect 3. 2ms 384.0 KiB
#4 Wrong Answer Read 10, expect 5. 3ms 384.0 KiB
#5 Wrong Answer Read 16, expect 9. 4ms 384.0 KiB
#6 Wrong Answer Read 98, expect 23. 2ms 384.0 KiB
#7 Wrong Answer Read 243, expect 42. 2ms 384.0 KiB
#8 Wrong Answer Read 304, expect 44. 4ms 384.0 KiB
#9 Wrong Answer Read 427, expect 54. 2ms 384.0 KiB
#10 Wrong Answer Read 503, expect 59. 2ms 384.0 KiB

信息

递交者
类型
递交
题目
零件分组(stick)
题目数据
下载
语言
C++
递交时间
2022-04-13 21:02:38
评测时间
2022-04-13 21:02:38
评测机
分数
10
总耗时
34ms
峰值内存
384.0 KiB