/ Vijos /

记录详情

Wrong Answer

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

信息

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