0_0_39549459_20055.cpp:172:6: error: redefinition of 'template<class T> void print(std::string, T*, int, int)'
172 | void print(string name, T arr[], int n, int flag = 1){
| ^~~~~
0_0_39549459_20055.cpp:26:6: note: 'template<class T> void print(std::string, T*, int, int)' previously declared here
26 | void print(string name, T arr[], int n, int flag = 1){
| ^~~~~
0_0_39549459_20055.cpp:179:13: error: redefinition of 'template<class T> void umi(T&, const T&)'
179 | inline void umi(T &x, const T&y){ if (y < x) x = y; }
| ^~~
0_0_39549459_20055.cpp:33:13: note: 'template<class T> void umi(T&, const T&)' previously declared here
33 | inline void umi(T &x, const T&y){ if (y < x) x = y; }
| ^~~
0_0_39549459_20055.cpp:181:13: error: redefinition of 'template<class T> void umx(T&, const T&)'
181 | inline void umx(T &x, const T&y){ if (y > x) x = y; }
| ^~~
0_0_39549459_20055.cpp:35:13: note: 'template<class T> void umx(T&, const T&)' previously declared here
35 | inline void umx(T &x, const T&y){ if (y > x) x = y; }
| ^~~
0_0_39549459_20055.cpp:184:5: error: redefinition of 'int read()'
184 | int read(){
| ^~~~
0_0_39549459_20055.cpp:38:5: note: 'int read()' previously defined here
38 | int read(){
| ^~~~
0_0_39549459_20055.cpp:191:6: error: redefinition of 'bool vis [1000005]'
191 | bool vis[maxn];
| ^~~
0_0_39549459_20055.cpp:45:6: note: 'bool vis [1000005]' previously declared here
45 | bool vis[maxn];
| ^~~
0_0_39549459_20055.cpp:192:5: error: redefinition of 'int pcnt'
192 | int pcnt, prime[maxn];
| ^~~~
0_0_39549459_20055.cpp:46:5: note: 'int pcnt' previously declared here
46 | int pcnt, prime[maxn];
| ^~~~
0_0_39549459_20055.cpp:192:11: error: redefinition of 'int prime [1000005]'
192 | int pcnt, prime[maxn];
| ^~~~~
0_0_39549459_20055.cpp:46:11: note: 'int prime [1000005]' previously declared here
46 | int pcnt, prime[maxn];
| ^~~~~
0_0_39549459_20055.cpp:193:6: error: redefinition of 'void init(int)'
193 | void init(int n){
| ^~~~
0_0_39549459_20055.cpp:47:6: note: 'void init(int)' previously defined here
47 | void init(int n){
| ^~~~
0_0_39549459_20055.cpp:203:5: error: redefinition of 'int a [1000005]'
203 | int a[maxn];
| ^
0_0_39549459_20055.cpp:57:5: note: 'int a [1000005]' previously declared here
57 | int a[maxn];
| ^
0_0_39549459_20055.cpp:205:8: error: redefinition of 'struct Par'
205 | struct Par{
| ^~~
0_0_39549459_20055.cpp:59:8: note: previous definition of 'struct Par'
59 | struct Par{
| ^~~
0_0_39549459_20055.cpp:212:10: error: redefinition of 'std::set<Par> st'
212 | set<Par> st;
| ^~
0_0_39549459_20055.cpp:66:10: note: 'std::set<Par> st' previously declared here
66 | set<Par> st;
| ^~
0_0_39549459_20055.cpp:214:5: error: redefinition of 'int main()'
214 | int main(){
| ^~~~
0_0_39549459_20055.cpp:68:5: note: 'int main()' previously defined here
68 | int main(){
| ^~~~
|