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: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. 3ms 384.0 KiB
#2 Wrong Answer Read 0, expect 5. 2ms 384.0 KiB

信息

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