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_36207862_25488.cpp:76:2: error: stray '#' in program
 }#include<iostream>
  ^
0_0_36207862_25488.cpp:76:3: error: 'include' does not name a type
 }#include<iostream>
   ^
0_0_36207862_25488.cpp:83:11: error: redefinition of 'const int mod'
 const int mod=10007;
           ^
0_0_36207862_25488.cpp:8:11: note: 'const int mod' previously defined here
 const int mod=10007;
           ^
0_0_36207862_25488.cpp:85:5: error: redefinition of 'int n'
 int n,q,flag[400009],x[400009];
     ^
0_0_36207862_25488.cpp:10:5: note: 'int n' previously declared here
 int n,q,flag[400009],x[400009];
     ^
0_0_36207862_25488.cpp:85:7: error: redefinition of 'int q'
 int n,q,flag[400009],x[400009];
       ^
0_0_36207862_25488.cpp:10:7: note: 'int q' previously declared here
 int n,q,flag[400009],x[400009];
       ^
0_0_36207862_25488.cpp:85:20: error: redefinition of 'int flag [400009]'
 int n,q,flag[400009],x[400009];
                    ^
0_0_36207862_25488.cpp:10:9: note: 'int flag [400009]' previously declared here
 int n,q,flag[400009],x[400009];
         ^
0_0_36207862_25488.cpp:85:30: error: redefinition of 'int x [400009]'
 int n,q,flag[400009],x[400009];
                              ^
0_0_36207862_25488.cpp:10:22: note: 'int x [400009]' previously declared here
 int n,q,flag[400009],x[400009];
                      ^
0_0_36207862_25488.cpp: In function 'void Union(int, int, int)':
0_0_36207862_25488.cpp:87:6: error: redefinition of 'void Union(int, int, int)'
 void Union(int k,int l,int r)
      ^
0_0_36207862_25488.cpp:12:6: note: 'void Union(int, int, int)' previously defined here
 void Union(int k,int l,int r)
      ^
0_0_36207862_25488.cpp: In function 'void update(int, int, int, int, int, int, int)':
0_0_36207862_25488.cpp:94:6: error: redefinition of 'void update(int, int, int, int, int, int, int)'
 void update(int k,int l,int r,int ll,int rr,int val,int type)
      ^
0_0_36207862_25488.cpp:19:6: note: 'void update(int, int, int, int, int, int, int)' previously defined here
 void update(int k,int l,int r,int ll,int rr,int val,int type)
      ^
0_0_36207862_25488.cpp: In function 'int query(int, int, int, int, int, int)':
0_0_36207862_25488.cpp:115:5: error: redefinition of 'int query(int, int, int, int, int, int)'
 int query(int k,int l,int r,int ll,int rr,int val)
     ^
0_0_36207862_25488.cpp:40:5: note: 'int query(int, int, int, int, int, int)' previously defined here
 int query(int k,int l,int r,int ll,int rr,int val)
     ^
0_0_36207862_25488.cpp: In function 'int main()':
0_0_36207862_25488.cpp:136:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_36207862_25488.cpp:61: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-05 11:03:15, Gzip enabled