0_0_38490882_25343.cpp:39:2: error: stray '#' in program
}#include <bits/stdc++.h>
^
0_0_38490882_25343.cpp:39:3: error: 'include' does not name a type
}#include <bits/stdc++.h>
^
0_0_38490882_25343.cpp:42:11: error: redefinition of 'const long long int maxn'
const int maxn = 3e5 + 9, p = 998244353;
^
0_0_38490882_25343.cpp:4:11: note: 'const long long int maxn' previously defined here
const int maxn = 3e5 + 9, p = 998244353;
^
0_0_38490882_25343.cpp:42:27: error: redefinition of 'const long long int p'
const int maxn = 3e5 + 9, p = 998244353;
^
0_0_38490882_25343.cpp:4:27: note: 'const long long int p' previously defined here
const int maxn = 3e5 + 9, p = 998244353;
^
0_0_38490882_25343.cpp:43:11: error: redefinition of 'long long int P [300009]'
int P[maxn], Q[maxn], S[maxn << 1], N;
^
0_0_38490882_25343.cpp:5:5: note: 'long long int P [300009]' previously declared here
int P[maxn], Q[maxn], S[maxn << 1], N;
^
0_0_38490882_25343.cpp:43:20: error: redefinition of 'long long int Q [300009]'
int P[maxn], Q[maxn], S[maxn << 1], N;
^
0_0_38490882_25343.cpp:5:14: note: 'long long int Q [300009]' previously declared here
int P[maxn], Q[maxn], S[maxn << 1], N;
^
0_0_38490882_25343.cpp:43:34: error: redefinition of 'long long int S [600018]'
int P[maxn], Q[maxn], S[maxn << 1], N;
^
0_0_38490882_25343.cpp:5:23: note: 'long long int S [600018]' previously declared here
int P[maxn], Q[maxn], S[maxn << 1], N;
^
0_0_38490882_25343.cpp:43:37: error: redefinition of 'long long int N'
int P[maxn], Q[maxn], S[maxn << 1], N;
^
0_0_38490882_25343.cpp:5:37: note: 'long long int N' previously declared here
int P[maxn], Q[maxn], S[maxn << 1], N;
^
0_0_38490882_25343.cpp:44:36: error: redefinition of 'std::unordered_map<long long int, long long int> dp [600018]'
unordered_map<int, int> dp[maxn * 2];
^
0_0_38490882_25343.cpp:6:25: note: 'std::unordered_map<long long int, long long int> dp [600018]' previously declared here
unordered_map<int, int> dp[maxn * 2];
^
0_0_38490882_25343.cpp: In function 'long long int dfs(long long int, long long int, long long int)':
0_0_38490882_25343.cpp:46:5: error: redefinition of 'long long int dfs(long long int, long long int, long long int)'
int dfs(int dep, int kp, int kq)
^
0_0_38490882_25343.cpp:8:5: note: 'long long int dfs(long long int, long long int, long long int)' previously defined here
int dfs(int dep, int kp, int kq)
^
0_0_38490882_25343.cpp: In function 'void solve()':
0_0_38490882_25343.cpp:58:6: error: redefinition of 'void solve()'
void solve()
^
0_0_38490882_25343.cpp:20:6: note: 'void solve()' previously defined here
void solve()
^
0_0_38490882_25343.cpp: In function 'int main()':
0_0_38490882_25343.cpp:71:8: error: redefinition of 'int main()'
signed main()
^
0_0_38490882_25343.cpp:33:8: note: 'int main()' previously defined here
signed main()
^
|