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_25514615_2083.cpp:193:2: error: stray '#' in program
 }#include <iostream>
  ^
0_0_25514615_2083.cpp:193:3: error: 'include' does not name a type
 }#include <iostream>
   ^
0_0_25514615_2083.cpp:199:11: error: redefinition of 'const int MAXN'
 const int MAXN = 1e5 + 10;
           ^
0_0_25514615_2083.cpp:7:11: note: 'const int MAXN' previously defined here
 const int MAXN = 1e5 + 10;
           ^
0_0_25514615_2083.cpp: In function 'LL fab(LL)':
0_0_25514615_2083.cpp:201:4: error: redefinition of 'LL fab(LL)'
 LL fab(LL a) {
    ^
0_0_25514615_2083.cpp:9:4: note: 'LL fab(LL)' previously defined here
 LL fab(LL a) {
    ^
0_0_25514615_2083.cpp: At global scope:
0_0_25514615_2083.cpp:204:8: error: redefinition of 'struct data'
 struct data {
        ^
0_0_25514615_2083.cpp:12:8: error: previous definition of 'struct data'
 struct data {
        ^
0_0_25514615_2083.cpp:209:14: error: invalid type in declaration before ',' token
 }line1[MAXN] , line2[MAXN];
              ^
0_0_25514615_2083.cpp:209:14: error: conflicting declaration 'int line1 [100010]'
0_0_25514615_2083.cpp:17:2: note: previous declaration as 'data line1 [100010]'
 }line1[MAXN] , line2[MAXN];
  ^
0_0_25514615_2083.cpp:209:26: error: conflicting declaration 'int line2 [100010]'
 }line1[MAXN] , line2[MAXN];
                          ^
0_0_25514615_2083.cpp:17:16: note: previous declaration as 'data line2 [100010]'
 }line1[MAXN] , line2[MAXN];
                ^
0_0_25514615_2083.cpp:210:8: error: redefinition of 'struct segtree'
 struct segtree {
        ^
0_0_25514615_2083.cpp:18:8: error: previous definition of 'struct segtree'
 struct segtree {
        ^
0_0_25514615_2083.cpp:213:15: error: invalid type in declaration before ',' token
 }T1[MAXN * 3] , T2[MAXN * 3];
               ^
0_0_25514615_2083.cpp:213:15: error: conflicting declaration 'int T1 [300030]'
0_0_25514615_2083.cpp:21:2: note: previous declaration as 'segtree T1 [300030]'
 }T1[MAXN * 3] , T2[MAXN * 3];
  ^
0_0_25514615_2083.cpp:213:28: error: conflicting declaration 'int T2 [300030]'
 }T1[MAXN * 3] , T2[MAXN * 3];
                            ^
0_0_25514615_2083.cpp:21:17: note: previous declaration as 'segtree T2 [300030]'
 }T1[MAXN * 3] , T2[MAXN * 3];
                 ^
0_0_25514615_2083.cpp:214:10: error: redefinition of 'LL x [100010]'
 LL x[MAXN] , y[MAXN];
          ^
0_0_25514615_2083.cpp:22:4: note: 'LL x [100010]' previously declared here
 LL x[MAXN] , y[MAXN];
    ^
0_0_25514615_2083.cpp:214:20: error: redefinition of 'LL y [100010]'
 LL x[MAXN] , y[MAXN];
                    ^
0_0_25514615_2083.cpp:22:14: note: 'LL y [100010]' previously declared here
 LL x[MAXN] , y[MAXN];
              ^
0_0_25514615_2083.cpp:215:17: error: redefinition of 'std::map<int, int> mp1'
 map <int , int> mp1 , mp2;
                 ^
0_0_25514615_2083.cpp:23:17: note: 'std::map<int, int> mp1' previously declared here
 map <int , int> mp1 , mp2;
                 ^
0_0_25514615_2083.cpp:215:23: error: redefinition of 'std::map<int, int> mp2'
 map <int , int> mp1 , mp2;
                       ^
0_0_25514615_2083.cpp:23:23: note: 'std::map<int, int> mp2' previously declared here
 map <int , int> mp1 , mp2;
                       ^
0_0_25514615_2083.cpp:216:5: error: redefinition of 'int f1'
 int f1 , f2;
     ^
0_0_25514615_2083.cpp:24:5: note: 'int f1' previously declared here
 int f1 , f2;
     ^
0_0_25514615_2083.cpp:216:10: error: redefinition of 'int f2'
 int f1 , f2;
          ^
0_0_25514615_2083.cpp:24:10: note: 'int f2' previously declared here
 int f1 , f2;
          ^
0_0_25514615_2083.cpp: In function 'void add1(LL)':
0_0_25514615_2083.cpp:218:13: error: redefinition of 'void add1(LL)'
 inline void add1(LL num) {
             ^
0_0_25514615_2083.cpp:26:13: note: 'void add1(LL)' previously defined here
 inline void add1(LL num) {
             ^
0_0_25514615_2083.cpp: In function 'void add2(LL)':
0_0_25514615_2083.cpp:225:13: error: redefinition of 'void add2(LL)'
 inline void add2(LL num) {
             ^
0_0_25514615_2083.cpp:33:13: note: 'void add2(LL)' previously defined here
 inline void add2(LL num) {
             ^
0_0_25514615_2083.cpp: In function 'void pushupx(int)':
0_0_25514615_2083.cpp:232:6: error: redefinition of 'void pushupx(int)'
 void pushupx(int p) {
      ^
0_0_25514615_2083.cpp:40:6: note: 'void pushupx(int)' previously defined here
 void pushupx(int p) {
      ^
0_0_25514615_2083.cpp: In function 'void pushupy(int)':
0_0_25514615_2083.cpp:244:6: error: redefinition of 'void pushupy(int)'
 void pushupy(int p) {
      ^
0_0_25514615_2083.cpp:52:6: note: 'void pushupy(int)' previously defined here
 void pushupy(int p) {
      ^
0_0_25514615_2083.cpp: In function 'void buildx(int, int, int)':
0_0_25514615_2083.cpp:256:6: error: redefinition of 'void buildx(int, int, int)'
 void buildx(int p , int l , int r) {
      ^
0_0_25514615_2083.cpp:64:6: note: 'void buildx(int, int, int)' previously defined here
 void buildx(int p , int l , int r) {
      ^
0_0_25514615_2083.cpp: In function 'void buildy(int, int, int)':
0_0_25514615_2083.cpp:266:6: error: redefinition of 'void buildy(int, int, int)'
 void buildy(int p , int l , int r) {
      ^
0_0_25514615_2083.cpp:74:6: note: 'void buildy(int, int, int)' previously defined here
 void buildy(int p , int l , int r) {
      ^
0_0_25514615_2083.cpp: In function 'void updatex(int, int, int, int)':
0_0_25514615_2083.cpp:276:6: error: redefinition of 'void updatex(int, int, int, int)'
 void updatex(int p , int l , int r , int add) {
      ^
0_0_25514615_2083.cpp:84:6: note: 'void updatex(int, int, int, int)' previously defined here
 void updatex(int p , int l , int r , int add) {
      ^
0_0_25514615_2083.cpp: In function 'void updatey(int, int, int, int)':
0_0_25514615_2083.cpp:296:6: error: redefinition of 'void updatey(int, int, int, int)'
 void updatey(int p , int l , int r , int add) {
      ^
0_0_25514615_2083.cpp:104:6: note: 'void updatey(int, int, int, int)' previously defined here
 void updatey(int p , int l , int r , int add) {
      ^
0_0_25514615_2083.cpp: In function 'int main()':
0_0_25514615_2083.cpp:316:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_25514615_2083.cpp:124: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-02 10:17:57, Gzip enabled