/ Vijos /

记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:7:18: error: 'm' was not declared in this scope
    7 |         if(sum+b<m){
      |                  ^
foo.cc:10:18: error: 'm' was not declared in this scope
   10 |         if(sum+b>m){
      |                  ^
foo.cc:13:12: error: 'sun' was not declared in this scope; did you mean 'sum'?
   13 |         if(sun+b==m){
      |            ^~~
      |            sum
foo.cc:13:19: error: 'm' was not declared in this scope
   13 |         if(sun+b==m){
      |                   ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1302 连续自然数和
语言
C++
递交时间
2022-03-20 12:01:54
评测时间
2022-03-20 12:01:54
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes