/ 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 28ms 30.867 MiB
#2 Accepted 34ms 30.992 MiB
#3 Accepted 53ms 31.242 MiB
#4 Accepted 82ms 31.367 MiB
#5 Accepted 103ms 32.484 MiB
#6 Accepted 149ms 34.613 MiB
#7 Accepted 193ms 36.242 MiB
#8 Accepted 194ms 36.254 MiB
#9 Accepted 204ms 36.254 MiB
#10 Accepted 207ms 36.254 MiB

信息

递交者
类型
递交
题目
P1083 小白逛公园
语言
C++
递交时间
2022-02-07 20:37:25
评测时间
2022-02-07 20:37:25
评测机
分数
100
总耗时
1253ms
峰值内存
36.254 MiB