记录详情

Compile Error

/in/foo.cc:14:2: error: stray '#' in program
 }#include<bits/stdc++.h>
  ^
/in/foo.cc:27:2: error: stray '#' in program
 }#include<bits/stdc++.h>
  ^
/in/foo.cc:14:3: error: 'include' does not name a type
 }#include<bits/stdc++.h>
   ^~~~~~~
/in/foo.cc:16:5: error: redefinition of 'int n'
 int n,m,a[100000],b[100000];
     ^
/in/foo.cc:3:5: note: 'int n' previously declared here
 int n,m,a[100000],b[100000];
     ^
/in/foo.cc:16:7: error: redefinition of 'int m'
 int n,m,a[100000],b[100000];
       ^
/in/foo.cc:3:7: note: 'int m' previously declared here
 int n,m,a[100000],b[100000];
       ^
/in/foo.cc:16:17: error: redefinition of 'int a [100000]'
 int n,m,a[100000],b[100000];
                 ^
/in/foo.cc:3:9: note: 'int a [100000]' previously declared here
 int n,m,a[100000],b[100000];
         ^
/in/foo.cc:16:27: error: redefinition of 'int b [100000]'
 int n,m,a[100000],b[100000];
                           ^
/in/foo.cc:3:19: note: 'int b [100000]' previously declared here
 int n,m,a[100000],b[100000];
                   ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:17:5: error: redefinition of 'int main()'
 int main()
     ^~~~
/in/foo.cc:4:5: note: 'int main()' previously defined here
 int main()
     ^~~~
/in/foo.cc: At global scope:
/in/foo.cc:27:3: error: 'include' does not name a type
 }#include<bits/stdc++.h>
   ^~~~~~~
/in/foo.cc:29:5: error: redefinition of 'int n'
 int n,m,a[100000],b[100000];
     ^
/in/foo.cc:3:5: note: 'int n' previously declared here
 int n,m,a[100000],b[100000];
     ^
/in/foo.cc:29:7: error: redefinition of 'int m'
 int n,m,a[100000],b[100000];
       ^
/in/foo.cc:3:7: note: 'int m' previously declared here
 int n,m,a[100000],b[100000];
       ^
/in/foo.cc:29:17: error: redefinition of 'int a [100000]'
 int n,m,a[100000],b[100000];
                 ^
/in/foo.cc:3:9: note: 'int a [100000]' previously declared here
 int n,m,a[100000],b[100000];
         ^
/in/foo.cc:29:27: error: redefinition of 'int b [100000]'
 int n,m,a[100000],b[100000];
                           ^
/in/foo.cc:3:19: note: 'int b [100000]' previously declared here
 int n,m,a[100000],b[100000];
                   ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:30:5: error: redefinition of 'int main()'
 int main()
     ^~~~
/in/foo.cc:4:5: note: 'int main()' previously defined here
 int main()
     ^~~~

信息

递交者
类型
递交
题目
装箱问题(boxes)
题目数据
下载
语言
C++
递交时间
2019-01-26 16:20:25
评测时间
2019-01-26 16:20:25
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes