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_21824873_22060.cpp:169:5: error: redefinition of 'int cas'
 int cas = 0,L,R,l,r;
     ^
0_0_21824873_22060.cpp:16:5: note: 'int cas' previously defined here
 int cas = 0,L,R,l,r;
     ^
0_0_21824873_22060.cpp:169:13: error: redefinition of 'int L'
 int cas = 0,L,R,l,r;
             ^
0_0_21824873_22060.cpp:16:13: note: 'int L' previously declared here
 int cas = 0,L,R,l,r;
             ^
0_0_21824873_22060.cpp:169:15: error: redefinition of 'int R'
 int cas = 0,L,R,l,r;
               ^
0_0_21824873_22060.cpp:16:15: note: 'int R' previously declared here
 int cas = 0,L,R,l,r;
               ^
0_0_21824873_22060.cpp:169:17: error: redefinition of 'int l'
 int cas = 0,L,R,l,r;
                 ^
0_0_21824873_22060.cpp:16:17: note: 'int l' previously declared here
 int cas = 0,L,R,l,r;
                 ^
0_0_21824873_22060.cpp:169:19: error: redefinition of 'int r'
 int cas = 0,L,R,l,r;
                   ^
0_0_21824873_22060.cpp:16:19: note: 'int r' previously declared here
 int cas = 0,L,R,l,r;
                   ^
0_0_21824873_22060.cpp:170:6: error: redefinition of 'lint ans'
 lint ans;
      ^
0_0_21824873_22060.cpp:17:6: note: 'lint ans' previously declared here
 lint ans;
      ^
0_0_21824873_22060.cpp:171:11: error: redefinition of 'int a [1000]'
 int a[1000];
           ^
0_0_21824873_22060.cpp:18:5: note: 'int a [1000]' previously declared here
 int a[1000];
     ^
0_0_21824873_22060.cpp: In function 'void get_ready()':
0_0_21824873_22060.cpp:172:13: error: redefinition of 'void get_ready()'
 inline void get_ready( )
             ^
0_0_21824873_22060.cpp:19:13: note: 'void get_ready()' previously defined here
 inline void get_ready( )
             ^
0_0_21824873_22060.cpp: In function 'lint cal(int, int)':
0_0_21824873_22060.cpp:177:13: error: redefinition of 'lint cal(int, int)'
 inline lint cal(int x,int y){
             ^
0_0_21824873_22060.cpp:24:13: note: 'lint cal(int, int)' previously defined here
 inline lint cal(int x,int y){
             ^
0_0_21824873_22060.cpp: In function 'lint cal2(int, int)':
0_0_21824873_22060.cpp:188:13: error: redefinition of 'lint cal2(int, int)'
 inline lint cal2(int x, int y){
             ^
0_0_21824873_22060.cpp:35:13: note: 'lint cal2(int, int)' previously defined here
 inline lint cal2(int x, int y){
             ^
0_0_21824873_22060.cpp: In function 'bool check(int, int)':
0_0_21824873_22060.cpp:197:13: error: redefinition of 'bool check(int, int)'
 inline bool check(int x, int xx){
             ^
0_0_21824873_22060.cpp:44:13: note: 'bool check(int, int)' previously defined here
 inline bool check(int x, int xx){
             ^
0_0_21824873_22060.cpp: In function 'lint work(int)':
0_0_21824873_22060.cpp:204:13: error: redefinition of 'lint work(int)'
 inline lint work(int mod){
             ^
0_0_21824873_22060.cpp:51:13: note: 'lint work(int)' previously defined here
 inline lint work(int mod){
             ^
0_0_21824873_22060.cpp: In function 'void solve()':
0_0_21824873_22060.cpp:287:13: error: redefinition of 'void solve()'
 inline void solve( )
             ^
0_0_21824873_22060.cpp:134:13: note: 'void solve()' previously defined here
 inline void solve( )
             ^
0_0_21824873_22060.cpp: In function 'int main()':
0_0_21824873_22060.cpp:297:5: error: redefinition of 'int main()'
 int main( )
     ^
0_0_21824873_22060.cpp:144: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-06-27 23:00:37, Gzip enabled