/ 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 64ms 30.871 MiB
#2 Accepted 44ms 30.902 MiB
#3 Accepted 76ms 30.992 MiB
#4 Accepted 71ms 30.992 MiB
#5 Accepted 119ms 31.379 MiB
#6 Accepted 202ms 32.367 MiB
#7 Accepted 200ms 33.117 MiB
#8 Accepted 195ms 32.992 MiB
#9 Accepted 217ms 32.992 MiB
#10 Accepted 258ms 33.184 MiB

信息

递交者
类型
递交
题目
P1083 小白逛公园
语言
C++
递交时间
2022-04-08 19:01:32
评测时间
2022-04-08 19:01:32
评测机
分数
100
总耗时
1450ms
峰值内存
33.184 MiB