/ Vijos /

记录详情

Accepted

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

信息

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