记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:8:11: warning: 'xmin' is used uninitialized [-Wuninitialized]
    8 | while(xmin<=xmax)
      |       ~~~~^~~~~~
foo.cc:5:5: note: 'xmin' was declared here
    5 | int xmin,xmax,x=0,a;
      |     ^~~~
foo.cc:8:11: warning: 'xmax' is used uninitialized [-Wuninitialized]
    8 | while(xmin<=xmax)
      |       ~~~~^~~~~~
foo.cc:5:10: note: 'xmax' was declared here
    5 | int xmin,xmax,x=0,a;
      |          ^~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 0, expect 5050. 4ms 284.0 KiB

信息

递交者
类型
自测
题目
A2-1 循环结构入门:数列求和
语言
C++
递交时间
2023-08-30 13:03:29
评测时间
2023-08-30 13:03:29
评测机
分数
0
总耗时
4ms
峰值内存
284.0 KiB