0_0_26460973_15434.cpp:160:2: error: stray '#' in program
}#include <bits/stdc++.h>
^
0_0_26460973_15434.cpp:160:3: error: 'include' does not name a type
}#include <bits/stdc++.h>
^
0_0_26460973_15434.cpp:165:11: error: redefinition of 'const int mod'
const int mod=998244353;
^
0_0_26460973_15434.cpp:6:11: note: 'const int mod' previously defined here
const int mod=998244353;
^
0_0_26460973_15434.cpp:166:14: error: redefinition of 'const double pi'
const double pi=acos(-1.0);
^
0_0_26460973_15434.cpp:7:14: note: 'const double pi' previously defined here
const double pi=acos(-1.0);
^
0_0_26460973_15434.cpp:167:5: error: redefinition of 'int n'
int n;
^
0_0_26460973_15434.cpp:8:5: note: 'int n' previously declared here
int n;
^
0_0_26460973_15434.cpp:168:8: error: redefinition of 'struct cp'
struct cp
^
0_0_26460973_15434.cpp:9:8: error: previous definition of 'struct cp'
struct cp
^
0_0_26460973_15434.cpp:176:11: error: invalid type in declaration before ';' token
}w[maxfft];
^
0_0_26460973_15434.cpp:176:11: error: conflicting declaration 'int w [200005]'
0_0_26460973_15434.cpp:17:2: note: previous declaration as 'cp w [200005]'
}w[maxfft];
^
0_0_26460973_15434.cpp:177:15: error: redefinition of 'int pos [200005]'
int pos[maxfft];
^
0_0_26460973_15434.cpp:18:5: note: 'int pos [200005]' previously declared here
int pos[maxfft];
^
0_0_26460973_15434.cpp: In function 'void fft_init(int)':
0_0_26460973_15434.cpp:178:6: error: redefinition of 'void fft_init(int)'
void fft_init(int len)
^
0_0_26460973_15434.cpp:19:6: note: 'void fft_init(int)' previously defined here
void fft_init(int len)
^
0_0_26460973_15434.cpp: In function 'void fft(cp*, int, int)':
0_0_26460973_15434.cpp:186:6: error: redefinition of 'void fft(cp*, int, int)'
void fft(cp *x,int len,int sta)
^
0_0_26460973_15434.cpp:27:6: note: 'void fft(cp*, int, int)' previously defined here
void fft(cp *x,int len,int sta)
^
0_0_26460973_15434.cpp: At global scope:
0_0_26460973_15434.cpp:209:12: error: redefinition of 'cp x [200005]'
cp x[maxfft],y[maxfft],z[maxfft];
^
0_0_26460973_15434.cpp:50:4: note: 'cp x [200005]' previously declared here
cp x[maxfft],y[maxfft],z[maxfft];
^
0_0_26460973_15434.cpp:209:22: error: redefinition of 'cp y [200005]'
cp x[maxfft],y[maxfft],z[maxfft];
^
0_0_26460973_15434.cpp:50:14: note: 'cp y [200005]' previously declared here
cp x[maxfft],y[maxfft],z[maxfft];
^
0_0_26460973_15434.cpp:209:32: error: redefinition of 'cp z [200005]'
cp x[maxfft],y[maxfft],z[maxfft];
^
0_0_26460973_15434.cpp:50:24: note: 'cp z [200005]' previously declared here
cp x[maxfft],y[maxfft],z[maxfft];
^
0_0_26460973_15434.cpp:210:16: error: redefinition of 'int temp [200005]'
int temp[maxfft];
^
0_0_26460973_15434.cpp:51:5: note: 'int temp [200005]' previously declared here
int temp[maxfft];
^
0_0_26460973_15434.cpp: In function 'void FFT(std::vector<int>&, std::vector<int>&, int, int, std::vector<int>&)':
0_0_26460973_15434.cpp:211:6: error: redefinition of 'void FFT(std::vector<int>&, std::vector<int>&, int, int, std::vector<int>&)'
void FFT(vector<int> &a,vector<int> &b,int n,int m,vector<int> &c)
^
0_0_26460973_15434.cpp:52:6: note: 'void FFT(std::vector<int>&, std::vector<int>&, int, int, std::vector<int>&)' previously defined here
void FFT(vector<int> &a,vector<int> &b,int n,int m,vector<int> &c)
^
0_0_26460973_15434.cpp: At global scope:
0_0_26460973_15434.cpp:260:20: error: redefinition of 'std::vector<int> d [200100]'
vector<int>d[200100];
^
0_0_26460973_15434.cpp:101:12: note: 'std::vector<int> d [200100]' previously declared here
vector<int>d[200100];
^
0_0_26460973_15434.cpp:261:13: error: redefinition of 'll jc [100010]'
ll jc[100010],inv[100100];
^
0_0_26460973_15434.cpp:102:4: note: 'll jc [100010]' previously declared here
ll jc[100010],inv[100100];
^
0_0_26460973_15434.cpp:261:25: error: redefinition of 'll inv [100100]'
ll jc[100010],inv[100100];
^
0_0_26460973_15434.cpp:102:15: note: 'll inv [100100]' previously declared here
ll jc[100010],inv[100100];
^
0_0_26460973_15434.cpp: In function 'll quickpow(ll, int, int)':
0_0_26460973_15434.cpp:262:11: error: redefinition of 'll quickpow(ll, int, int)'
inline ll quickpow(ll a,int b,int md=mod)
^
0_0_26460973_15434.cpp:103:11: note: 'll quickpow(ll, int, int)' previously defined here
inline ll quickpow(ll a,int b,int md=mod)
^
0_0_26460973_15434.cpp: In function 'void init()':
0_0_26460973_15434.cpp:274:13: error: redefinition of 'void init()'
inline void init()
^
0_0_26460973_15434.cpp:115:13: note: 'void init()' previously defined here
inline void init()
^
0_0_26460973_15434.cpp: In function 'll C(int, int)':
0_0_26460973_15434.cpp:281:11: error: redefinition of 'll C(int, int)'
inline ll C(int a,int b)
^
0_0_26460973_15434.cpp:122:11: note: 'll C(int, int)' previously defined here
inline ll C(int a,int b)
^
0_0_26460973_15434.cpp: In function 'void work()':
0_0_26460973_15434.cpp:285:13: error: redefinition of 'void work()'
inline void work()
^
0_0_26460973_15434.cpp:126:13: note: 'void work()' previously defined here
inline void work()
^
0_0_26460973_15434.cpp: In function 'int main()':
0_0_26460973_15434.cpp:314:5: error: redefinition of 'int main()'
int main()
^
0_0_26460973_15434.cpp:155:5: note: 'int main()' previously defined here
int main()
^
|