Wrong Answer

foo.cc:3:7: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    3 | main ()
      |       ^
foo.cc: In function 'int main()':
foo.cc:29:9: warning: '*((void*)& a +4)' may be used uninitialized in this function [-Wmaybe-uninitialized]
   29 |   if(a[i]>sum)
      |      ~~~^
foo.cc:5:18: warning: 'sum' may be used uninitialized in this function [-Wmaybe-uninitialized]
    5 |  int i,n,x1,ls=0,sum;
      |                  ^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 0, expect 3. 2ms 384.0 KiB
#2 Wrong Answer Read 5307, expect 5. 4ms 384.0 KiB

信息

递交者
类型
递交
题目
P1064 分数计数
语言
C++
递交时间
2022-05-09 16:32:59
评测时间
2022-05-09 16:32:59
评测机
分数
0
总耗时
7ms
峰值内存
384.0 KiB