/ Vijos /

记录详情

Compile Error

/in/foo.cc:41:2: error: stray '#' in program
 }#include<iostream>
  ^
/in/foo.cc:41:3: error: 'include' does not name a type
 }#include<iostream>
   ^~~~~~~
/in/foo.cc:44:12: error: redefinition of 'int a [10010]'
 int a[10010],wei[80010],he[10010];
            ^
/in/foo.cc:4:5: note: 'int a [10010]' previously declared here
 int a[10010],wei[80010],he[10010];
     ^
/in/foo.cc:44:23: error: redefinition of 'int wei [80010]'
 int a[10010],wei[80010],he[10010];
                       ^
/in/foo.cc:4:14: note: 'int wei [80010]' previously declared here
 int a[10010],wei[80010],he[10010];
              ^~~
/in/foo.cc:44:33: error: redefinition of 'int he [10010]'
 int a[10010],wei[80010],he[10010];
                                 ^
/in/foo.cc:4:25: note: 'int he [10010]' previously declared here
 int a[10010],wei[80010],he[10010];
                         ^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:45:5: error: redefinition of 'int main()'
 int main()
     ^~~~
/in/foo.cc:5:5: note: 'int main()' previously defined here
 int main()
     ^~~~

信息

递交者
类型
递交
题目
P1570 小新的问题
语言
C++
递交时间
2017-11-09 15:28:14
评测时间
2017-11-09 15:28:14
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes