/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:12:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&n);
  ~~~~~^~~~~~~~~
foo.cc:14:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d",&s[i].a);
   ~~~~~^~~~~~~~~~~~~~
foo.cc:19:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&m);
  ~~~~~^~~~~~~~~
foo.cc:21:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d%d",&l,&r);
   ~~~~~^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 256.0 KiB
#2 Accepted 2ms 352.0 KiB
#3 Accepted 3ms 404.0 KiB
#4 Accepted 8ms 792.0 KiB
#5 Accepted 15ms 1.238 MiB
#6 Accepted 28ms 1.66 MiB
#7 Accepted 33ms 1.832 MiB
#8 Accepted 35ms 1.902 MiB
#9 Accepted 54ms 2.312 MiB
#10 Accepted 52ms 2.312 MiB

信息

递交者
类型
递交
题目
P1514 天才的记忆
语言
C++
递交时间
2021-08-19 16:59:53
评测时间
2021-08-19 16:59:53
评测机
分数
100
总耗时
234ms
峰值内存
2.312 MiB