/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:47:27: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'int' [-Wformat=]
   printf("%lld\n",rmq(l,r));
                   ~~~~~~~~^
foo.cc:39:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&n);
  ~~~~~^~~~~~~~~
foo.cc:41:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%lld",&c[i]);
   ~~~~~^~~~~~~~~~~~~~
foo.cc:44:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&m);
  ~~~~~^~~~~~~~~
foo.cc:46: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 3ms 1.281 MiB
#2 Accepted 4ms 1.926 MiB
#3 Accepted 5ms 2.766 MiB
#4 Accepted 14ms 4.926 MiB
#5 Accepted 35ms 8.906 MiB
#6 Accepted 59ms 16.938 MiB
#7 Wrong Answer Read 681260035, expect 1073731536. 72ms 20.617 MiB
#8 Wrong Answer Read -147958361, expect 1073735366. 76ms 22.215 MiB
#9 Wrong Answer Read 202837025, expect 1073740520. 118ms 33.293 MiB
#10 Wrong Answer Read 925784734, expect 1073716631. 119ms 33.285 MiB

信息

递交者
类型
递交
题目
P1514 天才的记忆
语言
C++
递交时间
2021-07-11 13:04:37
评测时间
2021-07-11 13:04:37
评测机
分数
60
总耗时
510ms
峰值内存
33.293 MiB