Home STD Contest Notification Clarification Problems Ranklist Status Print Sign Out

View Compilation Error

1_549_2480_17922.cpp: In function `long long int quick_pow(long long int, int)':
1_549_2480_17922.cpp:165: error: redefinition of `long long int quick_pow(long long int, int)'
1_549_2480_17922.cpp:11: error: `long long int quick_pow(long long int, int)' previously defined here
1_549_2480_17922.cpp: At global scope:
1_549_2480_17922.cpp:177: error: redefinition of `struct node'
1_549_2480_17922.cpp:23: error: previous definition of `struct node'
1_549_2480_17922.cpp:187: error: invalid type in declaration before ',' token
1_549_2480_17922.cpp:187: error: conflicting declaration 'int u[505]'
1_549_2480_17922.cpp:33: error: 'u' has a previous declaration as `node u[505]'
1_549_2480_17922.cpp:187: error: type mismatch with previous external decl of `int u[505]'
1_549_2480_17922.cpp:33: error: previous external decl of `node u[505]'
1_549_2480_17922.cpp:187: error: declaration of `int u[505]'
1_549_2480_17922.cpp:33: error: conflicts with previous declaration `node u[505]'
1_549_2480_17922.cpp:187: error: conflicting declaration 'int w[505]'
1_549_2480_17922.cpp:33: error: 'w' has a previous declaration as `node w[505]'
1_549_2480_17922.cpp:187: error: type mismatch with previous external decl of `int w[505]'
1_549_2480_17922.cpp:33: error: previous external decl of `node w[505]'
1_549_2480_17922.cpp:187: error: declaration of `int w[505]'
1_549_2480_17922.cpp:33: error: conflicts with previous declaration `node w[505]'
1_549_2480_17922.cpp: In function `int dcm(double, double)':
1_549_2480_17922.cpp:188: error: redefinition of `int dcm(double, double)'
1_549_2480_17922.cpp:34: error: `int dcm(double, double)' previously defined here
1_549_2480_17922.cpp: In function `bool cmp(node, node)':
1_549_2480_17922.cpp:193: error: redefinition of `bool cmp(node, node)'
1_549_2480_17922.cpp:39: error: `bool cmp(node, node)' previously defined here
1_549_2480_17922.cpp: In function `bool comp(node, node)':
1_549_2480_17922.cpp:198: error: redefinition of `bool comp(node, node)'
1_549_2480_17922.cpp:44: error: `bool comp(node, node)' previously defined here
1_549_2480_17922.cpp: At global scope:
1_549_2480_17922.cpp:204: error: redefinition of `vec z[505]'
1_549_2480_17922.cpp:50: error: `vec z[505]' previously declared here
1_549_2480_17922.cpp:205: error: redefinition of `int G[505][505]'
1_549_2480_17922.cpp:51: error: `int G[505][505]' previously declared here
1_549_2480_17922.cpp:206: error: redefinition of `int n'
1_549_2480_17922.cpp:52: error: `int n' previously declared here
1_549_2480_17922.cpp:206: error: redefinition of `int m'
1_549_2480_17922.cpp:52: error: `int m' previously declared here
1_549_2480_17922.cpp:206: error: redefinition of `int c'
1_549_2480_17922.cpp:52: error: `int c' previously declared here
1_549_2480_17922.cpp: In function `double dis(node, node)':
1_549_2480_17922.cpp:208: error: redefinition of `double dis(node, node)'
1_549_2480_17922.cpp:54: error: `double dis(node, node)' previously defined here
1_549_2480_17922.cpp: At global scope:
1_549_2480_17922.cpp:211: error: redefinition of `node v1[505]'
1_549_2480_17922.cpp:57: error: `node v1[505]' previously declared here
1_549_2480_17922.cpp:214: error: redefinition of `long long int ans'
1_549_2480_17922.cpp:60: error: `long long int ans' previously declared here
1_549_2480_17922.cpp:215: error: redefinition of `int num'
1_549_2480_17922.cpp:61: error: `int num' previously declared here
1_549_2480_17922.cpp: In function `void solve()':
1_549_2480_17922.cpp:216: error: redefinition of `void solve()'
1_549_2480_17922.cpp:62: error: `void solve()' previously defined here
1_549_2480_17922.cpp: In function `int main()':
1_549_2480_17922.cpp:282: error: redefinition of `int main()'
1_549_2480_17922.cpp:128: error: `int main()' previously defined here


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-02-28 08:19:53, Gzip enabled