F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_34159064_29725.cpp:57:1: error: 'Select' does not name a type
 Select Code
 ^
0_0_34159064_29725.cpp:62:31: error: redefinition of 'template<class T> bool read(T&)'
 template <typename T> il bool read(T &x) 
                               ^
0_0_34159064_29725.cpp:5:31: note: 'template<class T> bool read(T&)' previously declared here
 template <typename T> il bool read(T &x) 
                               ^
0_0_34159064_29725.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_34159064_29725.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_34159064_29725.cpp:70:31: error: redefinition of 'template<class T> void write(T)'
 template <typename T> il void write(T x)
                               ^
0_0_34159064_29725.cpp:13:31: note: 'template<class T> void write(T)' previously declared here
 template <typename T> il void write(T x)
                               ^
0_0_34159064_29725.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_34159064_29725.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_34159064_29725.cpp:79:11: error: redefinition of 'const int mod'
 const int mod = 1e9+7;
           ^
0_0_34159064_29725.cpp:22:11: note: 'const int mod' previously defined here
 const int mod = 1e9+7;
           ^
0_0_34159064_29725.cpp:80:11: error: redefinition of 'const int maxm'
 const int maxm = 1e6+20;
           ^
0_0_34159064_29725.cpp:23:11: note: 'const int maxm' previously defined here
 const int maxm = 1e6+20;
           ^
0_0_34159064_29725.cpp:81:11: error: redefinition of 'const int maxn'
 const int maxn = 5e3+20;
           ^
0_0_34159064_29725.cpp:24:11: note: 'const int maxn' previously defined here
 const int maxn = 5e3+20;
           ^
0_0_34159064_29725.cpp: In function 'int ten(long long int, int)':
0_0_34159064_29725.cpp:85:5: error: redefinition of 'int ten(long long int, int)'
 int ten(ll b,int mod)
     ^
0_0_34159064_29725.cpp:28:5: note: 'int ten(long long int, int)' previously defined here
 int ten(ll b,int mod)
     ^
0_0_34159064_29725.cpp: In function 'void MC()':
0_0_34159064_29725.cpp:94:6: error: redefinition of 'void MC()'
 void MC()
      ^
0_0_34159064_29725.cpp:37:6: note: 'void MC()' previously defined here
 void MC()
      ^
0_0_34159064_29725.cpp: In function 'int main()':
0_0_34159064_29725.cpp:105:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_34159064_29725.cpp:48:5: note: 'int main()' previously defined here
 int main()
     ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-16 14:59:15, Gzip enabled