/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:54:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   54 |     scanf("%d%d",&n,&m);
      |     ~~~~~^~~~~~~~~~~~~~
foo.cc:55:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   55 |     for(int i=1;i<=n;i++)scanf("%d",&a[i]);
      |                          ~~~~~^~~~~~~~~~~~
foo.cc:58:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   58 |         int opt,x,y; scanf("%d",&opt);
      |                      ~~~~~^~~~~~~~~~~
foo.cc:60:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   60 |             scanf("%d%d",&x,&y);
      |             ~~~~~^~~~~~~~~~~~~~
foo.cc:65:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   65 |             scanf("%d%d",&x,&y);
      |             ~~~~~^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 70ms 30.75 MiB
#2 Accepted 76ms 30.875 MiB
#3 Accepted 90ms 30.992 MiB
#4 Accepted 91ms 30.996 MiB
#5 Accepted 111ms 31.367 MiB
#6 Accepted 176ms 32.242 MiB
#7 Accepted 222ms 32.992 MiB
#8 Accepted 183ms 32.992 MiB
#9 Accepted 197ms 33.117 MiB
#10 Accepted 311ms 33.117 MiB

信息

递交者
类型
递交
题目
P1083 小白逛公园
语言
C++
递交时间
2022-07-22 22:00:53
评测时间
2022-07-22 22:01:07
评测机
分数
100
总耗时
1531ms
峰值内存
33.117 MiB