F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_38827193_30946.cpp:57:2: error: stray '#' in program
   57 | }#include<bits/stdc++.h>
      |  ^
0_0_38827193_30946.cpp:57:11: error: 'bits' was not declared in this scope
   57 | }#include<bits/stdc++.h>
      |           ^~~~
0_0_38827193_30946.cpp:57:16: error: 'stdc' was not declared in this scope; did you mean 'std'?
   57 | }#include<bits/stdc++.h>
      |                ^~~~
      |                std
0_0_38827193_30946.cpp:57:11: error: 'bits' was not declared in this scope
   57 | }#include<bits/stdc++.h>
      |           ^~~~
0_0_38827193_30946.cpp:57:16: error: 'stdc' was not declared in this scope; did you mean 'std'?
   57 | }#include<bits/stdc++.h>
      |                ^~~~
      |                std
0_0_38827193_30946.cpp:57:11: error: 'bits' was not declared in this scope
   57 | }#include<bits/stdc++.h>
      |           ^~~~
0_0_38827193_30946.cpp:57:16: error: 'stdc' was not declared in this scope; did you mean 'std'?
   57 | }#include<bits/stdc++.h>
      |                ^~~~
      |                std
0_0_38827193_30946.cpp:57:11: error: 'bits' was not declared in this scope
   57 | }#include<bits/stdc++.h>
      |           ^~~~
0_0_38827193_30946.cpp:57:16: error: 'stdc' was not declared in this scope; did you mean 'std'?
   57 | }#include<bits/stdc++.h>
      |                ^~~~
      |                std
0_0_38827193_30946.cpp:57:11: error: 'bits' was not declared in this scope
   57 | }#include<bits/stdc++.h>
      |           ^~~~
0_0_38827193_30946.cpp:57:16: error: 'stdc' was not declared in this scope; did you mean 'std'?
   57 | }#include<bits/stdc++.h>
      |                ^~~~
      |                std
0_0_38827193_30946.cpp:57:11: error: 'bits' was not declared in this scope
   57 | }#include<bits/stdc++.h>
      |           ^~~~
0_0_38827193_30946.cpp:57:16: error: 'stdc' was not declared in this scope; did you mean 'std'?
   57 | }#include<bits/stdc++.h>
      |                ^~~~
      |                std
0_0_38827193_30946.cpp:57:11: error: 'bits' was not declared in this scope
   57 | }#include<bits/stdc++.h>
      |           ^~~~
0_0_38827193_30946.cpp:57:16: error: 'stdc' was not declared in this scope; did you mean 'std'?
   57 | }#include<bits/stdc++.h>
      |                ^~~~
      |                std
0_0_38827193_30946.cpp:57:11: error: 'bits' was not declared in this scope
   57 | }#include<bits/stdc++.h>
      |           ^~~~
0_0_38827193_30946.cpp:57:16: error: 'stdc' was not declared in this scope; did you mean 'std'?
   57 | }#include<bits/stdc++.h>
      |                ^~~~
      |                std
0_0_38827193_30946.cpp:57:11: error: 'bits' was not declared in this scope
   57 | }#include<bits/stdc++.h>
      |           ^~~~
0_0_38827193_30946.cpp:57:16: error: 'stdc' was not declared in this scope; did you mean 'std'?
   57 | }#include<bits/stdc++.h>
      |                ^~~~
      |                std
0_0_38827193_30946.cpp:57:3: error: 'include' does not name a type
   57 | }#include<bits/stdc++.h>
      |   ^~~~~~~
0_0_38827193_30946.cpp:60:11: error: redefinition of 'const int N'
   60 | const int N = 2e3 + 5;
      |           ^
0_0_38827193_30946.cpp:4:11: note: 'const int N' previously defined here
    4 | const int N = 2e3 + 5;
      |           ^
0_0_38827193_30946.cpp:61:11: error: redefinition of 'const int mod'
   61 | const int mod = 998244353;
      |           ^~~
0_0_38827193_30946.cpp:5:11: note: 'const int mod' previously defined here
    5 | const int mod = 998244353;
      |           ^~~
0_0_38827193_30946.cpp:62:13: error: redefinition of 'std::vector<int> p [2005]'
   62 | vector<int> p[N];
      |             ^
0_0_38827193_30946.cpp:6:13: note: 'std::vector<int> p [2005]' previously defined here
    6 | vector<int> p[N];
      |             ^
0_0_38827193_30946.cpp:63:5: error: redefinition of 'int sz [2005]'
   63 | int sz[N],f[N][5][N],tmp[5][N],n,x,y;
      |     ^~
0_0_38827193_30946.cpp:7:5: note: 'int sz [2005]' previously declared here
    7 | int sz[N],f[N][5][N],tmp[5][N],n,x,y;
      |     ^~
0_0_38827193_30946.cpp:63:11: error: redefinition of 'int f [2005][5][2005]'
   63 | int sz[N],f[N][5][N],tmp[5][N],n,x,y;
      |           ^
0_0_38827193_30946.cpp:7:11: note: 'int f [2005][5][2005]' previously declared here
    7 | int sz[N],f[N][5][N],tmp[5][N],n,x,y;
      |           ^
0_0_38827193_30946.cpp:63:22: error: redefinition of 'int tmp [5][2005]'
   63 | int sz[N],f[N][5][N],tmp[5][N],n,x,y;
      |                      ^~~
0_0_38827193_30946.cpp:7:22: note: 'int tmp [5][2005]' previously declared here
    7 | int sz[N],f[N][5][N],tmp[5][N],n,x,y;
      |                      ^~~
0_0_38827193_30946.cpp:63:32: error: redefinition of 'int n'
   63 | int sz[N],f[N][5][N],tmp[5][N],n,x,y;
      |                                ^
0_0_38827193_30946.cpp:7:32: note: 'int n' previously declared here
    7 | int sz[N],f[N][5][N],tmp[5][N],n,x,y;
      |                                ^
0_0_38827193_30946.cpp:63:34: error: redefinition of 'int x'
   63 | int sz[N],f[N][5][N],tmp[5][N],n,x,y;
      |                                  ^
0_0_38827193_30946.cpp:7:34: note: 'int x' previously declared here
    7 | int sz[N],f[N][5][N],tmp[5][N],n,x,y;
      |                                  ^
0_0_38827193_30946.cpp:63:36: error: redefinition of 'int y'
   63 | int sz[N],f[N][5][N],tmp[5][N],n,x,y;
      |                                    ^
0_0_38827193_30946.cpp:7:36: note: 'int y' previously declared here
    7 | int sz[N],f[N][5][N],tmp[5][N],n,x,y;
      |                                    ^
0_0_38827193_30946.cpp:64:5: error: redefinition of 'int add(int, int)'
   64 | int add(int x,int y){
      |     ^~~
0_0_38827193_30946.cpp:8:5: note: 'int add(int, int)' previously defined here
    8 | int add(int x,int y){
      |     ^~~
0_0_38827193_30946.cpp:67:5: error: redefinition of 'int mul(int, int)'
   67 | int mul(int x,int y){
      |     ^~~
0_0_38827193_30946.cpp:11:5: note: 'int mul(int, int)' previously defined here
   11 | int mul(int x,int y){
      |     ^~~
0_0_38827193_30946.cpp:70:6: error: redefinition of 'void solve(int, int)'
   70 | void solve(int x,int fa){
      |      ^~~~~
0_0_38827193_30946.cpp:14:6: note: 'void solve(int, int)' previously defined here
   14 | void solve(int x,int fa){
      |      ^~~~~
0_0_38827193_30946.cpp:95:5: error: redefinition of 'int main()'
   95 | int main(){
      |     ^~~~
0_0_38827193_30946.cpp:39:5: note: 'int main()' previously defined here
   39 | int main(){
      |     ^~~~


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-09-23 06:36:57, Gzip enabled