/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:38:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   38 |  scanf("%d",&n);
      |  ~~~~~^~~~~~~~~
foo.cc:41:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   41 |   int x,son;scanf("%d",&x);
      |             ~~~~~^~~~~~~~~
foo.cc:42:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   42 |   scanf("%lld%d",&cost[x],&son);
      |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:46:15: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   46 |    int v;scanf("%d",&v);
      |          ~~~~~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 2ms 384.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Wrong Answer Read 3, expect 1499. 2ms 512.0 KiB
#5 Wrong Answer Read 752, expect 860. 2ms 384.0 KiB
#6 Wrong Answer Read 706161, expect 748584. 2ms 384.0 KiB
#7 Wrong Answer Read 6, expect 9. 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1144 小胖守皇宫
语言
C++
递交时间
2022-07-27 12:57:26
评测时间
2022-07-27 12:57:26
评测机
分数
42
总耗时
17ms
峰值内存
512.0 KiB