/ StarOI /

记录详情

Compile Error

/in/foo.cc:32:2: error: stray '#' in program
 }#include<stdio.h>
  ^
/in/foo.cc:32:3: error: 'include' does not name a type
 }#include<stdio.h>
   ^~~~~~~
/in/foo.cc:35:5: error: redefinition of 'int n'
 int n,dp[6000][6000][2],a[6000],ans;
     ^
/in/foo.cc:4:5: note: 'int n' previously declared here
 int n,dp[6000][6000][2],a[6000],ans;
     ^
/in/foo.cc:35:23: error: redefinition of 'int dp [6000][6000][2]'
 int n,dp[6000][6000][2],a[6000],ans;
                       ^
/in/foo.cc:4:7: note: 'int dp [6000][6000][2]' previously declared here
 int n,dp[6000][6000][2],a[6000],ans;
       ^~
/in/foo.cc:35:31: error: redefinition of 'int a [6000]'
 int n,dp[6000][6000][2],a[6000],ans;
                               ^
/in/foo.cc:4:25: note: 'int a [6000]' previously declared here
 int n,dp[6000][6000][2],a[6000],ans;
                         ^
/in/foo.cc:35:33: error: redefinition of 'int ans'
 int n,dp[6000][6000][2],a[6000],ans;
                                 ^~~
/in/foo.cc:4:33: note: 'int ans' previously declared here
 int n,dp[6000][6000][2],a[6000],ans;
                                 ^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:36:5: error: redefinition of 'int main()'
 int main(){
     ^~~~
/in/foo.cc:5:5: note: 'int main()' previously defined here
 int main(){
     ^~~~

信息

递交者
类型
递交
题目
能量收集
语言
C++
递交时间
2017-07-11 22:38:06
评测时间
2017-07-11 22:38:06
评测机
分数
0
总耗时
218ms
峰值内存
27.746 MiB