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_37786968_6618.cpp:46:3: error: stray '#' in program
 } #include<bits/stdc++.h>
   ^
0_0_37786968_6618.cpp:46:4: error: 'include' does not name a type
 } #include<bits/stdc++.h>
    ^
0_0_37786968_6618.cpp:49:11: error: redefinition of 'long long int n'
 long long n;
           ^
0_0_37786968_6618.cpp:4:11: note: 'long long int n' previously declared here
 long long n;
           ^
0_0_37786968_6618.cpp:50:17: error: redefinition of 'const long long int N'
 const long long N=4e6+10;
                 ^
0_0_37786968_6618.cpp:5:17: note: 'const long long int N' previously defined here
 const long long N=4e6+10;
                 ^
0_0_37786968_6618.cpp:51:20: error: redefinition of 'long long int dp [8000020][2]'
 long long dp[2*N][2];
                    ^
0_0_37786968_6618.cpp:6:11: note: 'long long int dp [8000020][2]' previously declared here
 long long dp[2*N][2];
           ^
0_0_37786968_6618.cpp:52:14: error: redefinition of 'long long int q [4000010]'
 long long q[N],p[N],s[2*N];
              ^
0_0_37786968_6618.cpp:7:11: note: 'long long int q [4000010]' previously declared here
 long long q[N],p[N],s[2*N];
           ^
0_0_37786968_6618.cpp:52:19: error: redefinition of 'long long int p [4000010]'
 long long q[N],p[N],s[2*N];
                   ^
0_0_37786968_6618.cpp:7:16: note: 'long long int p [4000010]' previously declared here
 long long q[N],p[N],s[2*N];
                ^
0_0_37786968_6618.cpp:52:26: error: redefinition of 'long long int s [8000020]'
 long long q[N],p[N],s[2*N];
                          ^
0_0_37786968_6618.cpp:7:21: note: 'long long int s [8000020]' previously declared here
 long long q[N],p[N],s[2*N];
                     ^
0_0_37786968_6618.cpp:53:11: error: redefinition of 'long long int mod'
 long long mod=998244353;
           ^
0_0_37786968_6618.cpp:8:11: note: 'long long int mod' previously defined here
 long long mod=998244353;
           ^
0_0_37786968_6618.cpp: In function 'long long int dfs(long long int, long long int, long long int)':
0_0_37786968_6618.cpp:54:11: error: redefinition of 'long long int dfs(long long int, long long int, long long int)'
 long long dfs(long long x,long long y,long long tar)
           ^
0_0_37786968_6618.cpp:9:11: note: 'long long int dfs(long long int, long long int, long long int)' previously defined here
 long long dfs(long long x,long long y,long long tar)
           ^
0_0_37786968_6618.cpp: In function 'void solve()':
0_0_37786968_6618.cpp:70:6: error: redefinition of 'void solve()'
 void solve()
      ^
0_0_37786968_6618.cpp:25:6: note: 'void solve()' previously defined here
 void solve()
      ^
0_0_37786968_6618.cpp: In function 'int main()':
0_0_37786968_6618.cpp:83:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_37786968_6618.cpp:38: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-28 13:04:00, Gzip enabled