记录详情

Compile Error

/in/foo.cc:32:2: error: stray '#' in program
 }#include<iostream>
  ^
/in/foo.cc:32:3: error: 'include' does not name a type
 }#include<iostream>
   ^~~~~~~
/in/foo.cc:36:12: error: redefinition of 'int a [10000]'
 int a[10000];
            ^
/in/foo.cc:5:5: note: 'int a [10000]' previously declared here
 int a[10000];
     ^
/in/foo.cc: In function 'int solve()':
/in/foo.cc:37:5: error: redefinition of 'int solve()'
 int solve() {
     ^~~~~
/in/foo.cc:6:5: note: 'int solve()' previously defined here
 int solve() {
     ^~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:83:5: error: redefinition of 'int main()'
 int main()
     ^~~~
/in/foo.cc:64:5: note: 'int main()' previously defined here
 int main()
     ^~~~

信息

递交者
类型
自测
题目
P1536 Problem 5A. 躲避地震
语言
C++
递交时间
2023-11-06 19:40:21
评测时间
2023-11-06 19:40:21
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes