0_0_34159074_9528.cpp:57:1: error: 'Select' does not name a type
Select Code
^
0_0_34159074_9528.cpp:62:31: error: redefinition of 'template<class T> bool read(T&)'
template <typename T> il bool read(T &x)
^
0_0_34159074_9528.cpp:5:31: note: 'template<class T> bool read(T&)' previously declared here
template <typename T> il bool read(T &x)
^
0_0_34159074_9528.cpp:69:45: error: redefinition of 'template<class A, class ... B> bool read(A&, B& ...)'
template <typename A,typename ...B> il bool read(A &x,B &...y) { return read(x)&&read(y...); }
^
0_0_34159074_9528.cpp:12:45: note: 'template<class A, class ... B> bool read(A&, B& ...)' previously declared here
template <typename A,typename ...B> il bool read(A &x,B &...y) { return read(x)&&read(y...); }
^
0_0_34159074_9528.cpp:70:31: error: redefinition of 'template<class T> void write(T)'
template <typename T> il void write(T x)
^
0_0_34159074_9528.cpp:13:31: note: 'template<class T> void write(T)' previously declared here
template <typename T> il void write(T x)
^
0_0_34159074_9528.cpp:78:31: error: redefinition of 'template<class T> void wln(T)'
template <typename T> il void wln(T x) { write(x); putchar('\n'); }
^
0_0_34159074_9528.cpp:21:31: note: 'template<class T> void wln(T)' previously declared here
template <typename T> il void wln(T x) { write(x); putchar('\n'); }
^
0_0_34159074_9528.cpp:79:11: error: redefinition of 'const int mod'
const int mod = 1e9+7;
^
0_0_34159074_9528.cpp:22:11: note: 'const int mod' previously defined here
const int mod = 1e9+7;
^
0_0_34159074_9528.cpp:80:11: error: redefinition of 'const int maxm'
const int maxm = 1e6+20;
^
0_0_34159074_9528.cpp:23:11: note: 'const int maxm' previously defined here
const int maxm = 1e6+20;
^
0_0_34159074_9528.cpp:81:11: error: redefinition of 'const int maxn'
const int maxn = 5e3+20;
^
0_0_34159074_9528.cpp:24:11: note: 'const int maxn' previously defined here
const int maxn = 5e3+20;
^
0_0_34159074_9528.cpp: In function 'int ten(long long int, int)':
0_0_34159074_9528.cpp:86:5: error: redefinition of 'int ten(long long int, int)'
int ten(ll b,int mod)
^
0_0_34159074_9528.cpp:28:5: note: 'int ten(long long int, int)' previously defined here
int ten(ll b,int mod)
^
0_0_34159074_9528.cpp: In function 'void MC()':
0_0_34159074_9528.cpp:95:6: error: redefinition of 'void MC()'
void MC()
^
0_0_34159074_9528.cpp:37:6: note: 'void MC()' previously defined here
void MC()
^
0_0_34159074_9528.cpp: In function 'int main()':
0_0_34159074_9528.cpp:106:5: error: redefinition of 'int main()'
int main()
^
0_0_34159074_9528.cpp:48:5: note: 'int main()' previously defined here
int main()
^
|