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_37654524_5384.cpp:100:3: error: stray '#' in program
 } #include<bits/stdc++.h>
   ^
0_0_37654524_5384.cpp:100:4: error: 'include' does not name a type
 } #include<bits/stdc++.h>
    ^
0_0_37654524_5384.cpp:111:11: error: redefinition of 'const int N'
 const int N=1e6+5;
           ^
0_0_37654524_5384.cpp:12:11: note: 'const int N' previously defined here
 const int N=1e6+5;
           ^
0_0_37654524_5384.cpp:112:8: error: redefinition of 'int a [1000005]'
 int a[N],n,k,siz[N];
        ^
0_0_37654524_5384.cpp:13:5: note: 'int a [1000005]' previously declared here
 int a[N],n,k,siz[N];
     ^
0_0_37654524_5384.cpp:112:10: error: redefinition of 'int n'
 int a[N],n,k,siz[N];
          ^
0_0_37654524_5384.cpp:13:10: note: 'int n' previously declared here
 int a[N],n,k,siz[N];
          ^
0_0_37654524_5384.cpp:112:12: error: redefinition of 'int k'
 int a[N],n,k,siz[N];
            ^
0_0_37654524_5384.cpp:13:12: note: 'int k' previously declared here
 int a[N],n,k,siz[N];
            ^
0_0_37654524_5384.cpp:112:19: error: redefinition of 'int siz [1000005]'
 int a[N],n,k,siz[N];
                   ^
0_0_37654524_5384.cpp:13:14: note: 'int siz [1000005]' previously declared here
 int a[N],n,k,siz[N];
              ^
0_0_37654524_5384.cpp:113:12: error: redefinition of 'long long int dp [1000005][25]'
 ll dp[N][25],t[25];
            ^
0_0_37654524_5384.cpp:14:4: note: 'long long int dp [1000005][25]' previously declared here
 ll dp[N][25],t[25];
    ^
0_0_37654524_5384.cpp:113:18: error: redefinition of 'long long int t [25]'
 ll dp[N][25],t[25];
                  ^
0_0_37654524_5384.cpp:14:14: note: 'long long int t [25]' previously declared here
 ll dp[N][25],t[25];
              ^
0_0_37654524_5384.cpp:114:36: error: redefinition of 'std::vector<std::pair<int, std::pair<int, int> > > G [1000005]'
 vector<pair<int,pair<int,int>>> G[N];
                                    ^
0_0_37654524_5384.cpp:15:33: note: 'std::vector<std::pair<int, std::pair<int, int> > > G [1000005]' previously declared here
 vector<pair<int,pair<int,int>>> G[N];
                                 ^
0_0_37654524_5384.cpp: In function 'void dfs(int, int, long long int)':
0_0_37654524_5384.cpp:115:6: error: redefinition of 'void dfs(int, int, long long int)'
 void dfs(int u,int fa,ll lim)
      ^
0_0_37654524_5384.cpp:16:6: note: 'void dfs(int, int, long long int)' previously defined here
 void dfs(int u,int fa,ll lim)
      ^
0_0_37654524_5384.cpp: In function 'bool check(long long int)':
0_0_37654524_5384.cpp:152:6: error: redefinition of 'bool check(long long int)'
 bool check(ll x)
      ^
0_0_37654524_5384.cpp:53:6: note: 'bool check(long long int)' previously defined here
 bool check(ll x)
      ^
0_0_37654524_5384.cpp: In function 'void solve()':
0_0_37654524_5384.cpp:164:6: error: redefinition of 'void solve()'
 void solve()
      ^
0_0_37654524_5384.cpp:65:6: note: 'void solve()' previously defined here
 void solve()
      ^
0_0_37654524_5384.cpp: In function 'int main()':
0_0_37654524_5384.cpp:191:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_37654524_5384.cpp:92:5: note: 'int main()' previously defined here
 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-11-30 15:22:27, Gzip enabled