/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:53:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d%d",&n,&m);
  ~~~~~^~~~~~~~~~~~~~
foo.cc:56:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  for(i = 0;i<n;i++)scanf("%d",&a[i]);
                    ~~~~~^~~~~~~~~~~~
foo.cc:60:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d%d",&n,&m);
   ~~~~~^~~~~~~~~~~~~~
foo.cc:51:16: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized]
  int n,m,i,k,l,r,mid,num;
                ^
foo.cc:51:14: warning: 'l' may be used uninitialized in this function [-Wmaybe-uninitialized]
  int n,m,i,k,l,r,mid,num;
              ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 0, expect 222. 2ms 384.0 KiB
#2 Wrong Answer Read 0, expect 180165619. 1ms 384.0 KiB
#3 Wrong Answer Read 0, expect 2279626626. 1ms 384.0 KiB
#4 Wrong Answer Read 0, expect 8957924828. 1ms 384.0 KiB
#5 Wrong Answer Read 0, expect 51182503960. 1ms 384.0 KiB
#6 Wrong Answer Read 0, expect 10440572368405. 1ms 384.0 KiB
#7 Wrong Answer Read 0, expect 16884822926006. 1ms 384.0 KiB
#8 Wrong Answer Read 0, expect 20911268094862. 1ms 384.0 KiB
#9 Wrong Answer Read 0, expect 148744200000. 2ms 384.0 KiB
#10 Wrong Answer Read 0, expect 41352973052610. 1ms 384.0 KiB

信息

递交者
类型
递交
题目
P1459 车展
语言
C++
递交时间
2021-10-23 20:13:02
评测时间
2021-10-23 20:13:02
评测机
分数
0
总耗时
19ms
峰值内存
384.0 KiB