记录详情

Accepted

foo.cc: In function 'void dts::main()':
foo.cc:80:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   80 |         scanf("%d",&n);
      |         ~~~~~^~~~~~~~~
foo.cc:82:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   82 |             scanf("%d",&a[i]);
      |             ~~~~~^~~~~~~~~~~~
foo.cc:84:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   84 |         scanf("%d",&m);
      |         ~~~~~^~~~~~~~~
foo.cc:88:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   88 |             scanf("%d%d%d",&K,&l,&r);
      |             ~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:92:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   92 |                 scanf("%d",&val);
      |                 ~~~~~^~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 86ms 1.742 MiB
#2 Accepted 95ms 3.242 MiB
#3 Accepted 46ms 5.617 MiB
#4 Accepted 23ms 2.875 MiB
#5 Accepted 73ms 5.867 MiB
#6 Accepted 62ms 2.867 MiB
#7 Accepted 54ms 3.242 MiB
#8 Accepted 100ms 3.242 MiB
#9 Accepted 72ms 1.242 MiB
#10 Accepted 106ms 3.242 MiB

信息

递交者
类型
递交
题目
P1045 河蟹王国
语言
C++
递交时间
2022-07-27 21:05:38
评测时间
2022-07-27 21:05:38
评测机
分数
100
总耗时
721ms
峰值内存
5.867 MiB