/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:39:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   39 |  scanf("%d", &n);
      |  ~~~~~^~~~~~~~~~
foo.cc:41:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   41 |   scanf("%d", &a[i]);
      |   ~~~~~^~~~~~~~~~~~~
foo.cc:43:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   43 |  scanf("%d", &m);
      |  ~~~~~^~~~~~~~~~
foo.cc:46:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   46 |   scanf("%d%d", &l, &r),
      |   ~~~~~^~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 256.0 KiB
#2 Accepted 3ms 384.0 KiB
#3 Accepted 4ms 536.0 KiB
#4 Accepted 18ms 896.0 KiB
#5 Accepted 14ms 1.676 MiB
#6 Accepted 47ms 2.867 MiB
#7 Accepted 50ms 3.117 MiB
#8 Accepted 25ms 3.242 MiB
#9 Accepted 52ms 5.242 MiB
#10 Accepted 34ms 5.242 MiB

信息

递交者
类型
递交
题目
P1514 天才的记忆
语言
C++
递交时间
2022-07-16 17:44:41
评测时间
2022-07-16 17:44:41
评测机
分数
100
总耗时
251ms
峰值内存
5.242 MiB