/ Vijos /

记录详情

Compile Error

foo.cpp:118:2: error: stray '#' in program
 }#include<iostream>
  ^
foo.cpp:118:3: error: 'include' does not name a type
 }#include<iostream>
   ^
foo.cpp:124:11: error: redefinition of 'const int maxn'
 const int maxn = 80 + 5;
           ^
foo.cpp:7:11: error: 'const int maxn' previously defined here
 const int maxn = 80 + 5;
           ^
foo.cpp:126:8: error: redefinition of 'struct bignum'
 struct bignum{
        ^
foo.cpp:9:8: error: previous definition of 'struct bignum'
 struct bignum{
        ^
foo.cpp:194:11: error: redefinition of 'int a [85]'
 int a[maxn]={0};
           ^
foo.cpp:77:5: error: 'int a [85]' previously defined here
 int a[maxn]={0};
     ^
foo.cpp:195:20: error: redefinition of 'bignum d [85][85]'
 bignum d[maxn][maxn];//d[i][j]:??????i?j???????? 
                    ^
foo.cpp:78:8: error: 'bignum d [85][85]' previously declared here
 bignum d[maxn][maxn];//d[i][j]:??????i?j???????? 
        ^
foo.cpp:196:5: error: redefinition of 'int n'
 int n, m;
     ^
foo.cpp:79:5: error: 'int n' previously declared here
 int n, m;
     ^
foo.cpp:196:8: error: redefinition of 'int m'
 int n, m;
        ^
foo.cpp:79:8: error: 'int m' previously declared here
 int n, m;
        ^
foo.cpp: In function 'int main()':
foo.cpp:197:5: error: redefinition of 'int main()'
 int main(){
     ^
foo.cpp:80:5: error: 'int main()' previously defined here
 int main(){
     ^

信息

递交者
类型
递交
题目
P1378 矩阵取数游戏
语言
C++
递交时间
2016-11-14 22:47:31
评测时间
2016-11-14 22:47:32
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes