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_20259448_24175.cpp:116:11: error: redefinition of 'const int size'
 const int size=1e5;
           ^
0_0_20259448_24175.cpp:22:11: note: 'const int size' previously defined here
 const int size=1e5;
           ^
0_0_20259448_24175.cpp:117:10: error: redefinition of 'const LL INF'
 const LL INF=1e15;
          ^
0_0_20259448_24175.cpp:23:10: note: 'const LL INF' previously defined here
 const LL INF=1e15;
          ^
0_0_20259448_24175.cpp:118:14: error: redefinition of 'char str [100000]'
 char str[size];
              ^
0_0_20259448_24175.cpp:24:6: note: 'char str [100000]' previously declared here
 char str[size];
      ^
0_0_20259448_24175.cpp:119:13: error: redefinition of 'std::queue<char> q1'
 queue<char> q1;
             ^
0_0_20259448_24175.cpp:25:13: note: 'std::queue<char> q1' previously declared here
 queue<char> q1;
             ^
0_0_20259448_24175.cpp:120:11: error: redefinition of 'std::queue<long long int> q2'
 queue<LL> q2;
           ^
0_0_20259448_24175.cpp:26:11: note: 'std::queue<long long int> q2' previously declared here
 queue<LL> q2;
           ^
0_0_20259448_24175.cpp: In function 'int main()':
0_0_20259448_24175.cpp:121:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_20259448_24175.cpp:27: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-12-02 15:44:15, Gzip enabled