记录详情

Compile Error

/in/foo.cc:45:13: error: stray '\357' in program
  int i,sum=0;
             ^
/in/foo.cc:45:14: error: stray '\274' in program
  int i,sum=0;
              ^
/in/foo.cc:45:15: error: stray '\233' in program
  int i,sum=0;
               ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:46:2: error: expected ',' or ';' before 'long'
  long long a[250000]={1,2,6,3,7,4};
  ^~~~
/in/foo.cc:50:8: error: 'a' was not declared in this scope
   cin>>a[i];
        ^
/in/foo.cc:53:11: error: 'a' was not declared in this scope
   sum=sum+a[i];
           ^
/in/foo.cc:58:16: error: 'a' was not declared in this scope
   sum+=FindNum(a,n,i);
                ^

信息

递交者
类型
自测
题目
P1105 连续数之和
语言
C++
递交时间
2024-10-26 22:20:35
评测时间
2024-10-26 22:20:35
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes