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_31513655_10104.cpp:127:3: error: stray '#' in program
  }#include<iostream>
   ^
0_0_31513655_10104.cpp:127:4: error: 'include' does not name a type
  }#include<iostream>
    ^
0_0_31513655_10104.cpp:146:11: error: redefinition of 'const int N'
 const int N = 2010;
           ^
0_0_31513655_10104.cpp:20:11: note: 'const int N' previously defined here
 const int N = 2010;
           ^
0_0_31513655_10104.cpp:147:11: error: redefinition of 'int a [24120]'
 int a[N*12],b[N*12],x[N*24];
           ^
0_0_31513655_10104.cpp:21:5: note: 'int a [24120]' previously declared here
 int a[N*12],b[N*12],x[N*24];
     ^
0_0_31513655_10104.cpp:147:19: error: redefinition of 'int b [24120]'
 int a[N*12],b[N*12],x[N*24];
                   ^
0_0_31513655_10104.cpp:21:13: note: 'int b [24120]' previously declared here
 int a[N*12],b[N*12],x[N*24];
             ^
0_0_31513655_10104.cpp:147:27: error: redefinition of 'int x [48240]'
 int a[N*12],b[N*12],x[N*24];
                           ^
0_0_31513655_10104.cpp:21:21: note: 'int x [48240]' previously declared here
 int a[N*12],b[N*12],x[N*24];
                     ^
0_0_31513655_10104.cpp:148:12: error: redefinition of 'char s [24120]'
 char s[N*12];
            ^
0_0_31513655_10104.cpp:22:6: note: 'char s [24120]' previously declared here
 char s[N*12];
      ^
0_0_31513655_10104.cpp:149:13: error: redefinition of 'int laz [24120]'
 int laz[N*12]; 
             ^
0_0_31513655_10104.cpp:23:5: note: 'int laz [24120]' previously declared here
 int laz[N*12]; 
     ^
0_0_31513655_10104.cpp:150:8: error: redefinition of 'struct node'
 struct node{
        ^
0_0_31513655_10104.cpp:24:8: error: previous definition of 'struct node'
 struct node{
        ^
0_0_31513655_10104.cpp:152:11: error: invalid type in declaration before ';' token
 }seg[N*12];
           ^
0_0_31513655_10104.cpp:152:11: error: conflicting declaration 'int seg [24120]'
0_0_31513655_10104.cpp:26:2: note: previous declaration as 'node seg [24120]'
 }seg[N*12];
  ^
0_0_31513655_10104.cpp: In function 'void setlen(int, int)':
0_0_31513655_10104.cpp:153:6: error: redefinition of 'void setlen(int, int)'
 void setlen(int rt,int num){
      ^
0_0_31513655_10104.cpp:27:6: note: 'void setlen(int, int)' previously defined here
 void setlen(int rt,int num){
      ^
0_0_31513655_10104.cpp: In function 'void pushdown(int, int, int)':
0_0_31513655_10104.cpp:156:6: error: redefinition of 'void pushdown(int, int, int)'
 void pushdown(int rt,int l,int r){
      ^
0_0_31513655_10104.cpp:30:6: note: 'void pushdown(int, int, int)' previously defined here
 void pushdown(int rt,int l,int r){
      ^
0_0_31513655_10104.cpp: In function 'void pushup(int, int, int)':
0_0_31513655_10104.cpp:167:6: error: redefinition of 'void pushup(int, int, int)'
 void pushup(int rt,int l,int r){
      ^
0_0_31513655_10104.cpp:41:6: note: 'void pushup(int, int, int)' previously defined here
 void pushup(int rt,int l,int r){
      ^
0_0_31513655_10104.cpp: In function 'void build(int, int, int)':
0_0_31513655_10104.cpp:178:6: error: redefinition of 'void build(int, int, int)'
 void build(int rt,int l,int r){
      ^
0_0_31513655_10104.cpp:52:6: note: 'void build(int, int, int)' previously defined here
 void build(int rt,int l,int r){
      ^
0_0_31513655_10104.cpp: In function 'void update(int, int, int, int, int, int)':
0_0_31513655_10104.cpp:188:6: error: redefinition of 'void update(int, int, int, int, int, int)'
 void update(int rt,int l,int r,int L,int R,int c){
      ^
0_0_31513655_10104.cpp:62:6: note: 'void update(int, int, int, int, int, int)' previously defined here
 void update(int rt,int l,int r,int L,int R,int c){
      ^
0_0_31513655_10104.cpp: In function 'int query(int, int, int)':
0_0_31513655_10104.cpp:203:5: error: redefinition of 'int query(int, int, int)'
 int query(int rt,int l,int r){
     ^
0_0_31513655_10104.cpp:77:5: note: 'int query(int, int, int)' previously defined here
 int query(int rt,int l,int r){
     ^
0_0_31513655_10104.cpp: In function 'int main()':
0_0_31513655_10104.cpp:214:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_31513655_10104.cpp:88: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-16 18:24:47, Gzip enabled