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_37949804_15546.cpp:58:11: error: redefinition of 'const long long int N'
 const int N = 3e5+10;
           ^
0_0_37949804_15546.cpp:4:11: note: 'const long long int N' previously defined here
 const int N = 3e5+10;
           ^
0_0_37949804_15546.cpp:59:6: error: redefinition of 'long long int n'
 int  n , k ;
      ^
0_0_37949804_15546.cpp:5:6: note: 'long long int n' previously declared here
 int  n , k ;
      ^
0_0_37949804_15546.cpp:59:10: error: redefinition of 'long long int k'
 int  n , k ;
          ^
0_0_37949804_15546.cpp:5:10: note: 'long long int k' previously declared here
 int  n , k ;
          ^
0_0_37949804_15546.cpp:60:8: error: redefinition of 'long long int c [300010]'
 int c[N];
        ^
0_0_37949804_15546.cpp:6:5: note: 'long long int c [300010]' previously declared here
 int c[N];
     ^
0_0_37949804_15546.cpp:61:5: error: redefinition of 'long long int num'
 int num = 0 ;
     ^
0_0_37949804_15546.cpp:7:5: note: 'long long int num' previously defined here
 int num = 0 ;
     ^
0_0_37949804_15546.cpp: In function 'long long int lowbit(long long int)':
0_0_37949804_15546.cpp:62:5: error: redefinition of 'long long int lowbit(long long int)'
 int lowbit(int x){
     ^
0_0_37949804_15546.cpp:8:5: note: 'long long int lowbit(long long int)' previously defined here
 int lowbit(int x){
     ^
0_0_37949804_15546.cpp: In function 'long long int findx(long long int)':
0_0_37949804_15546.cpp:65:5: error: redefinition of 'long long int findx(long long int)'
 int findx(int x){
     ^
0_0_37949804_15546.cpp:11:5: note: 'long long int findx(long long int)' previously defined here
 int findx(int x){
     ^
0_0_37949804_15546.cpp: In function 'void query(long long int, long long int)':
0_0_37949804_15546.cpp:72:6: error: redefinition of 'void query(long long int, long long int)'
 void query(int x ,int y){
      ^
0_0_37949804_15546.cpp:18:6: note: 'void query(long long int, long long int)' previously defined here
 void query(int x ,int y){
      ^
0_0_37949804_15546.cpp: In function 'void slove()':
0_0_37949804_15546.cpp:77:6: error: redefinition of 'void slove()'
 void slove(){
      ^
0_0_37949804_15546.cpp:23:6: note: 'void slove()' previously defined here
 void slove(){
      ^
0_0_37949804_15546.cpp: In function 'int main()':
0_0_37949804_15546.cpp:101:8: error: redefinition of 'int main()'
 signed main(){
        ^
0_0_37949804_15546.cpp:47:8: note: 'int main()' previously defined here
 signed main(){
        ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-02-17 07:51:01, Gzip enabled