0_0_33705846_25924.cpp:98:11: error: redefinition of 'const int N'
const int N = 2e5 + 500;
^
0_0_33705846_25924.cpp:7:11: note: 'const int N' previously defined here
const int N = 2e5 + 500;
^
0_0_33705846_25924.cpp:99:10: error: redefinition of 'const ll mod'
const ll mod = 998244353;
^
0_0_33705846_25924.cpp:8:10: note: 'const ll mod' previously defined here
const ll mod = 998244353;
^
0_0_33705846_25924.cpp:100:14: error: redefinition of 'const double pi'
const double pi = acos(-1);
^
0_0_33705846_25924.cpp:9:14: note: 'const double pi' previously defined here
const double pi = acos(-1);
^
0_0_33705846_25924.cpp:101:11: error: redefinition of 'const int inf'
const int inf = -0x3f3f3f3f;
^
0_0_33705846_25924.cpp:10:11: note: 'const int inf' previously defined here
const int inf = -0x3f3f3f3f;
^
0_0_33705846_25924.cpp:102:14: error: redefinition of 'const double eps'
const double eps = 1e-10;
^
0_0_33705846_25924.cpp:11:14: note: 'const double eps' previously defined here
const double eps = 1e-10;
^
0_0_33705846_25924.cpp:103:5: error: redefinition of 'int T'
int T,n,k;
^
0_0_33705846_25924.cpp:12:5: note: 'int T' previously declared here
int T,n,k;
^
0_0_33705846_25924.cpp:103:7: error: redefinition of 'int n'
int T,n,k;
^
0_0_33705846_25924.cpp:12:7: note: 'int n' previously declared here
int T,n,k;
^
0_0_33705846_25924.cpp:103:9: error: redefinition of 'int k'
int T,n,k;
^
0_0_33705846_25924.cpp:12:9: note: 'int k' previously declared here
int T,n,k;
^
0_0_33705846_25924.cpp:104:31: error: redefinition of 'std::vector<std::pair<int, int> > vec [200500]'
vector <pair<int, int> > vec[N];
^
0_0_33705846_25924.cpp:13:26: note: 'std::vector<std::pair<int, int> > vec [200500]' previously declared here
vector <pair<int, int> > vec[N];
^
0_0_33705846_25924.cpp:105:4: error: redefinition of 'll ans'
ll ans;
^
0_0_33705846_25924.cpp:14:4: note: 'll ans' previously declared here
ll ans;
^
0_0_33705846_25924.cpp:106:11: error: redefinition of 'll dp [200500][5]'
ll dp[N][5];
^
0_0_33705846_25924.cpp:15:4: note: 'll dp [200500][5]' previously declared here
ll dp[N][5];
^
0_0_33705846_25924.cpp:107:18: error: redefinition of 'std::pair<long long int, long long int> v [200500]'
pair <ll, ll> v[N];
^
0_0_33705846_25924.cpp:16:15: note: 'std::pair<long long int, long long int> v [200500]' previously declared here
pair <ll, ll> v[N];
^
0_0_33705846_25924.cpp:108:10: error: redefinition of 'll tmp1 [200500]'
ll tmp1[N],tmp2[N];
^
0_0_33705846_25924.cpp:17:4: note: 'll tmp1 [200500]' previously declared here
ll tmp1[N],tmp2[N];
^
0_0_33705846_25924.cpp:108:18: error: redefinition of 'll tmp2 [200500]'
ll tmp1[N],tmp2[N];
^
0_0_33705846_25924.cpp:17:12: note: 'll tmp2 [200500]' previously declared here
ll tmp1[N],tmp2[N];
^
0_0_33705846_25924.cpp: In function 'bool cmp(std::pair<long long int, long long int>, std::pair<long long int, long long int>)':
0_0_33705846_25924.cpp:109:6: error: redefinition of 'bool cmp(std::pair<long long int, long long int>, std::pair<long long int, long long int>)'
bool cmp(pair<ll, ll> a, pair<ll, ll> b)
^
0_0_33705846_25924.cpp:18:6: note: 'bool cmp(std::pair<long long int, long long int>, std::pair<long long int, long long int>)' previously defined here
bool cmp(pair<ll, ll> a, pair<ll, ll> b)
^
0_0_33705846_25924.cpp: In function 'void dfs(int, int)':
0_0_33705846_25924.cpp:113:6: error: redefinition of 'void dfs(int, int)'
void dfs(int x, int fa)
^
0_0_33705846_25924.cpp:22:6: note: 'void dfs(int, int)' previously defined here
void dfs(int x, int fa)
^
0_0_33705846_25924.cpp: In function 'int main()':
0_0_33705846_25924.cpp:154:5: error: redefinition of 'int main()'
int main()
^
0_0_33705846_25924.cpp:63:5: note: 'int main()' previously defined here
int main()
^
|