/ 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 48ms 30.867 MiB
#2 Accepted 55ms 30.977 MiB
#3 Accepted 47ms 31.242 MiB
#4 Accepted 43ms 31.367 MiB
#5 Accepted 129ms 32.48 MiB
#6 Accepted 189ms 34.613 MiB
#7 Accepted 239ms 36.238 MiB
#8 Accepted 210ms 36.207 MiB
#9 Accepted 224ms 36.242 MiB
#10 Accepted 219ms 36.242 MiB

信息

递交者
类型
递交
题目
P1083 小白逛公园
语言
C++
递交时间
2022-01-02 20:14:45
评测时间
2022-01-02 20:14:45
评测机
分数
100
总耗时
1407ms
峰值内存
36.242 MiB