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_36307686_30209.cpp: In function 'int read()':
0_0_36307686_30209.cpp:55:12: error: redefinition of 'int read()'
 inline int read(){int x=0,f=0;char ch=getchar();while(ch<'0' || ch>'9') {if(ch=='-') f=1;ch=getchar();}while(ch>='0'&&ch<='9') x=(x<<3)+(x<<1)+(ch^48),ch=getchar();return f?-x:x;}
            ^
0_0_36307686_30209.cpp:19:12: note: 'int read()' previously defined here
 inline int read(){int x=0,f=0;char ch=getchar();while(ch<'0' || ch>'9') {if(ch=='-') f=1;ch=getchar();}while(ch>='0'&&ch<='9') x=(x<<3)+(x<<1)+(ch^48),ch=getchar();return f?-x:x;}
            ^
0_0_36307686_30209.cpp: At global scope:
0_0_36307686_30209.cpp:57:4: error: redefinition of 'long long int t'
 ll t,n;
    ^
0_0_36307686_30209.cpp:21:4: note: 'long long int t' previously declared here
 ll t,n;
    ^
0_0_36307686_30209.cpp:57:6: error: redefinition of 'long long int n'
 ll t,n;
      ^
0_0_36307686_30209.cpp:21:6: note: 'long long int n' previously declared here
 ll t,n;
      ^
0_0_36307686_30209.cpp: In function 'int main()':
0_0_36307686_30209.cpp:59:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_36307686_30209.cpp:23: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-26 14:23:17, Gzip enabled