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_34878983_29701.cpp:62:11: error: redefinition of 'const int p'
 const int p = 998244353; 
           ^
0_0_34878983_29701.cpp:7:11: note: 'const int p' previously defined here
 const int p = 998244353; 
           ^
0_0_34878983_29701.cpp:64:5: error: redefinition of 'int n'
 int n, m, k, q, a[maxn];
     ^
0_0_34878983_29701.cpp:9:5: note: 'int n' previously declared here
 int n, m, k, q, a[maxn];
     ^
0_0_34878983_29701.cpp:64:8: error: redefinition of 'int m'
 int n, m, k, q, a[maxn];
        ^
0_0_34878983_29701.cpp:9:8: note: 'int m' previously declared here
 int n, m, k, q, a[maxn];
        ^
0_0_34878983_29701.cpp:64:11: error: redefinition of 'int k'
 int n, m, k, q, a[maxn];
           ^
0_0_34878983_29701.cpp:9:11: note: 'int k' previously declared here
 int n, m, k, q, a[maxn];
           ^
0_0_34878983_29701.cpp:64:14: error: redefinition of 'int q'
 int n, m, k, q, a[maxn];
              ^
0_0_34878983_29701.cpp:9:14: note: 'int q' previously declared here
 int n, m, k, q, a[maxn];
              ^
0_0_34878983_29701.cpp:64:23: error: redefinition of 'int a [61]'
 int n, m, k, q, a[maxn];
                       ^
0_0_34878983_29701.cpp:9:17: note: 'int a [61]' previously declared here
 int n, m, k, q, a[maxn];
                 ^
0_0_34878983_29701.cpp:66:17: error: redefinition of 'int g [61][61]'
 int g[maxn][maxn];
                 ^
0_0_34878983_29701.cpp:11:5: note: 'int g [61][61]' previously declared here
 int g[maxn][maxn];
     ^
0_0_34878983_29701.cpp:68:26: error: redefinition of 'int f [61][61][61][3]'
 int f[maxn][maxn][maxn][3];
                          ^
0_0_34878983_29701.cpp:13:5: note: 'int f [61][61][61][3]' previously declared here
 int f[maxn][maxn][maxn][3];
     ^
0_0_34878983_29701.cpp: In function 'int dfs(int, int, int, int)':
0_0_34878983_29701.cpp:69:5: error: redefinition of 'int dfs(int, int, int, int)'
 int dfs(int u, int v, int w, int cnt) {
     ^
0_0_34878983_29701.cpp:14:5: note: 'int dfs(int, int, int, int)' previously defined here
 int dfs(int u, int v, int w, int cnt) {
     ^
0_0_34878983_29701.cpp: In function 'void init()':
0_0_34878983_29701.cpp:89:6: error: redefinition of 'void init()'
 void init() {
      ^
0_0_34878983_29701.cpp:34:6: note: 'void init()' previously defined here
 void init() {
      ^
0_0_34878983_29701.cpp: In function 'void work()':
0_0_34878983_29701.cpp:93:6: error: redefinition of 'void work()'
 void work() {
      ^
0_0_34878983_29701.cpp:38:6: note: 'void work()' previously defined here
 void work() {
      ^
0_0_34878983_29701.cpp: In function 'int main()':
0_0_34878983_29701.cpp:106:5: error: redefinition of 'int main()'
 int main() {
     ^
0_0_34878983_29701.cpp:51: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-23 02:04:10, Gzip enabled