/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:32:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   32 |  scanf("%d%d%d",&n,&m,&k);
      |  ~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:33:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   33 |  for(int i=1;i<=n;i++) scanf("%d%d",&a[i],&b[i]);
      |                        ~~~~~^~~~~~~~~~~~~~~~~~~~
foo.cc:37:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   37 |   scanf("%d%d",&x,&y);
      |   ~~~~~^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 7ms 4.25 MiB
#2 Accepted 10ms 4.25 MiB
#3 Accepted 5ms 4.25 MiB
#4 Accepted 5ms 4.25 MiB
#5 Accepted 11ms 4.25 MiB
#6 Accepted 12ms 4.25 MiB
#7 Accepted 7ms 4.25 MiB
#8 Accepted 7ms 4.25 MiB
#9 Accepted 16ms 4.25 MiB
#10 Accepted 13ms 4.25 MiB

信息

递交者
类型
递交
题目
P1250 最勇敢的机器人
语言
C++
递交时间
2021-12-16 23:12:44
评测时间
2021-12-16 23:12:44
评测机
分数
100
总耗时
96ms
峰值内存
4.25 MiB