记录详情

Wrong Answer

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

信息

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