/ 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 27ms 30.875 MiB
#2 Accepted 36ms 30.875 MiB
#3 Accepted 43ms 30.918 MiB
#4 Accepted 40ms 30.992 MiB
#5 Accepted 102ms 30.988 MiB
#6 Accepted 196ms 31.992 MiB
#7 Accepted 216ms 32.742 MiB
#8 Accepted 205ms 32.742 MiB
#9 Accepted 202ms 32.742 MiB
#10 Accepted 217ms 32.742 MiB

信息

递交者
类型
递交
题目
P1083 小白逛公园
语言
C++
递交时间
2021-12-11 21:09:42
评测时间
2021-12-11 21:09:42
评测机
分数
100
总耗时
1289ms
峰值内存
32.742 MiB