/ Vijos /

记录详情

Compile Error

foo.cpp:77:2: error: stray '#' in program
 }#include<cstdio>
  ^
foo.cpp:77:3: error: 'include' does not name a type
 }#include<cstdio>
   ^
foo.cpp:81:11: error: redefinition of 'const int maxn'
 const int maxn=100100;
           ^
foo.cpp:5:11: error: 'const int maxn' previously defined here
 const int maxn=100100;
           ^
foo.cpp:82:5: error: redefinition of 'int n'
 int n,m;
     ^
foo.cpp:6:5: error: 'int n' previously declared here
 int n,m;
     ^
foo.cpp:82:7: error: redefinition of 'int m'
 int n,m;
       ^
foo.cpp:6:7: error: 'int m' previously declared here
 int n,m;
       ^
foo.cpp: In function 'int gcd(int, int)':
foo.cpp:83:5: error: redefinition of 'int gcd(int, int)'
 int gcd(int a,int b)
     ^
foo.cpp:7:5: error: 'int gcd(int, int)' previously defined here
 int gcd(int a,int b)
     ^
foo.cpp: At global scope:
foo.cpp:88:7: error: redefinition of 'class Graph'
 class Graph
       ^
foo.cpp:12:7: error: previous definition of 'class Graph'
 class Graph
       ^
foo.cpp:143:4: error: invalid type in declaration before ';' token
 }gp;
    ^
foo.cpp:143:4: error: conflicting declaration 'int gp'
foo.cpp:67:2: error: 'gp' has a previous declaration as 'Graph gp'
 }gp;
  ^
foo.cpp: In function 'int main()':
foo.cpp:144:5: error: redefinition of 'int main()'
 int main()
     ^
foo.cpp:68:5: error: 'int main()' previously defined here
 int main()
     ^

信息

递交者
类型
递交
题目
P1823 假面舞会
语言
C++
递交时间
2016-05-13 16:07:36
评测时间
2016-05-13 16:07:36
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes