0_0_33524539_17103.cpp:125:2: error: stray '#' in program
}#include <bits/stdc++.h>
^
0_0_33524539_17103.cpp:125:3: error: 'include' does not name a type
}#include <bits/stdc++.h>
^
0_0_33524539_17103.cpp:136:13: error: redefinition of 'template<class T> void read(T&)'
inline void read (T &x) {
^
0_0_33524539_17103.cpp:12:13: note: 'template<class T> void read(T&)' previously declared here
inline void read (T &x) {
^
0_0_33524539_17103.cpp:152:13: error: redefinition of 'template<class T> void print(T)'
inline void print (T x) {
^
0_0_33524539_17103.cpp:28:13: note: 'template<class T> void print(T)' previously declared here
inline void print (T x) {
^
0_0_33524539_17103.cpp:161:11: error: redefinition of 'const int inf'
const int inf = 0x3f3f3f3f;
^
0_0_33524539_17103.cpp:37:11: note: 'const int inf' previously defined here
const int inf = 0x3f3f3f3f;
^
0_0_33524539_17103.cpp:162:11: error: redefinition of 'const int maxn'
const int maxn = 1e5+10;
^
0_0_33524539_17103.cpp:38:11: note: 'const int maxn' previously defined here
const int maxn = 1e5+10;
^
0_0_33524539_17103.cpp:163:11: error: redefinition of 'const int mod'
const int mod = 1e9+9;
^
0_0_33524539_17103.cpp:39:11: note: 'const int mod' previously defined here
const int mod = 1e9+9;
^
0_0_33524539_17103.cpp:164:14: error: redefinition of 'const double PI'
const double PI = acos(-1);
^
0_0_33524539_17103.cpp:40:14: note: 'const double PI' previously defined here
const double PI = acos(-1);
^
0_0_33524539_17103.cpp:165:14: error: redefinition of 'const double eps'
const double eps = 1e-8;
^
0_0_33524539_17103.cpp:41:14: note: 'const double eps' previously defined here
const double eps = 1e-8;
^
0_0_33524539_17103.cpp:166:10: error: redefinition of 'const ll a0'
const ll a0 = 691504013;
^
0_0_33524539_17103.cpp:42:10: note: 'const ll a0' previously defined here
const ll a0 = 691504013;
^
0_0_33524539_17103.cpp:167:10: error: redefinition of 'const ll b0'
const ll b0 = 308495997;
^
0_0_33524539_17103.cpp:43:10: note: 'const ll b0' previously defined here
const ll b0 = 308495997;
^
0_0_33524539_17103.cpp:168:10: error: redefinition of 'const ll g5'
const ll g5 = 276601605;
^
0_0_33524539_17103.cpp:44:10: note: 'const ll g5' previously defined here
const ll g5 = 276601605;
^
0_0_33524539_17103.cpp:172:4: error: redefinition of 'll n'
ll n,c,k;
^
0_0_33524539_17103.cpp:48:4: note: 'll n' previously declared here
ll n,c,k;
^
0_0_33524539_17103.cpp:172:6: error: redefinition of 'll c'
ll n,c,k;
^
0_0_33524539_17103.cpp:48:6: note: 'll c' previously declared here
ll n,c,k;
^
0_0_33524539_17103.cpp:172:8: error: redefinition of 'll k'
ll n,c,k;
^
0_0_33524539_17103.cpp:48:8: note: 'll k' previously declared here
ll n,c,k;
^
0_0_33524539_17103.cpp:173:4: error: redefinition of 'll ca'
ll ca;
^
0_0_33524539_17103.cpp:49:4: note: 'll ca' previously declared here
ll ca;
^
0_0_33524539_17103.cpp:174:4: error: redefinition of 'll cb'
ll cb;
^
0_0_33524539_17103.cpp:50:4: note: 'll cb' previously declared here
ll cb;
^
0_0_33524539_17103.cpp:175:10: error: redefinition of 'll a [100010]'
ll a[maxn],b[maxn];
^
0_0_33524539_17103.cpp:51:4: note: 'll a [100010]' previously declared here
ll a[maxn],b[maxn];
^
0_0_33524539_17103.cpp:175:18: error: redefinition of 'll b [100010]'
ll a[maxn],b[maxn];
^
0_0_33524539_17103.cpp:51:12: note: 'll b [100010]' previously declared here
ll a[maxn],b[maxn];
^
0_0_33524539_17103.cpp:176:10: error: redefinition of 'll f [100010]'
ll f[maxn],inv[maxn];
^
0_0_33524539_17103.cpp:52:4: note: 'll f [100010]' previously declared here
ll f[maxn],inv[maxn];
^
0_0_33524539_17103.cpp:176:20: error: redefinition of 'll inv [100010]'
ll f[maxn],inv[maxn];
^
0_0_33524539_17103.cpp:52:12: note: 'll inv [100010]' previously declared here
ll f[maxn],inv[maxn];
^
0_0_33524539_17103.cpp: In function 'll qpow(ll, ll)':
0_0_33524539_17103.cpp:178:4: error: redefinition of 'll qpow(ll, ll)'
ll qpow(ll a,ll b) {
^
0_0_33524539_17103.cpp:54:4: note: 'll qpow(ll, ll)' previously defined here
ll qpow(ll a,ll b) {
^
0_0_33524539_17103.cpp: In function 'void work(ll)':
0_0_33524539_17103.cpp:188:6: error: redefinition of 'void work(ll)'
void work(ll x) {
^
0_0_33524539_17103.cpp:64:6: note: 'void work(ll)' previously defined here
void work(ll x) {
^
0_0_33524539_17103.cpp: In function 'void init()':
0_0_33524539_17103.cpp:197:6: error: redefinition of 'void init()'
void init() {
^
0_0_33524539_17103.cpp:73:6: note: 'void init()' previously defined here
void init() {
^
0_0_33524539_17103.cpp: In function 'll C(ll, ll)':
0_0_33524539_17103.cpp:208:4: error: redefinition of 'll C(ll, ll)'
ll C(ll p,ll q) {
^
0_0_33524539_17103.cpp:84:4: note: 'll C(ll, ll)' previously defined here
ll C(ll p,ll q) {
^
0_0_33524539_17103.cpp: In function 'void solve(ll, ll)':
0_0_33524539_17103.cpp:214:6: error: redefinition of 'void solve(ll, ll)'
void solve(ll n,ll k) {
^
0_0_33524539_17103.cpp:90:6: note: 'void solve(ll, ll)' previously defined here
void solve(ll n,ll k) {
^
0_0_33524539_17103.cpp: In function 'int main(int, char**)':
0_0_33524539_17103.cpp:233:5: error: redefinition of 'int main(int, char**)'
int main(int argc, char * argv[])
^
0_0_33524539_17103.cpp:109:5: note: 'int main(int, char**)' previously defined here
int main(int argc, char * argv[])
^
|