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_36423829_18985.cpp:205:14: error: redefinition of 'const double esp'
 const double esp = 1e-2;
              ^
0_0_36423829_18985.cpp:55:14: note: 'const double esp' previously defined here
 const double esp = 1e-2;
              ^
0_0_36423829_18985.cpp:207:11: error: redefinition of 'const int mod'
 const int mod = 1e9 + 7;
           ^
0_0_36423829_18985.cpp:57:11: note: 'const int mod' previously defined here
 const int mod = 1e9 + 7;
           ^
0_0_36423829_18985.cpp:208:11: error: redefinition of 'const int N'
 const int N = 2e6 + 1;
           ^
0_0_36423829_18985.cpp:58:11: note: 'const int N' previously defined here
 const int N = 2e6 + 1;
           ^
0_0_36423829_18985.cpp:219:18: error: redefinition of 'std::vector<int> sum'
 vector<int> sum(N);
                  ^
0_0_36423829_18985.cpp:69:13: note: 'std::vector<int> sum' previously declared here
 vector<int> sum(N);
             ^
0_0_36423829_18985.cpp:220:18: error: redefinition of 'std::vector<int> mul'
 vector<int> mul(N);
                  ^
0_0_36423829_18985.cpp:70:13: note: 'std::vector<int> mul' previously declared here
 vector<int> mul(N);
             ^
0_0_36423829_18985.cpp: In function 'void init()':
0_0_36423829_18985.cpp:222:6: error: redefinition of 'void init()'
 void init() {
      ^
0_0_36423829_18985.cpp:72:6: note: 'void init()' previously defined here
 void init() {
      ^
0_0_36423829_18985.cpp: At global scope:
0_0_36423829_18985.cpp:263:13: error: redefinition of 'const char* idx'
 const char* idx;
             ^
0_0_36423829_18985.cpp:113:13: note: 'const char* idx' previously declared here
 const char* idx;
             ^
0_0_36423829_18985.cpp:264:8: error: redefinition of 'std::string str'
 string str;
        ^
0_0_36423829_18985.cpp:114:8: note: 'std::string str' previously declared here
 string str;
        ^
0_0_36423829_18985.cpp: In function 'int main()':
0_0_36423829_18985.cpp:267:5: error: redefinition of 'int main()'
 int main() {
     ^
0_0_36423829_18985.cpp:117: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-09-29 04:19:34, Gzip enabled