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_32018478_5428.cpp:10:20: error: stray '#' in program
 #define RI Reg int #define Con const
                    ^
0_0_32018478_5428.cpp:65:5: note: in expansion of macro 'RI'
     RI i,k;LL g=0;DB e,w;for(F.read(n),i=1;i<=n;++i) F.read(a[i]);for(i=1;i<=n;++i) F.read(b[i]);//读入
     ^
0_0_32018478_5428.cpp:11:16: error: 'cmp' declared as an 'inline' variable
 #define CI Con int&
                ^
0_0_32018478_5428.cpp:20:12: note: in expansion of macro 'CI'
 I bool cmp(CI x,CI y) {return 1LL*b[x]*a[y]<1LL*b[y]*a[x];}
            ^
0_0_32018478_5428.cpp:11:12: error: 'Con' was not declared in this scope
 #define CI Con int&
            ^
0_0_32018478_5428.cpp:20:12: note: in expansion of macro 'CI'
 I bool cmp(CI x,CI y) {return 1LL*b[x]*a[y]<1LL*b[y]*a[x];}
            ^
0_0_32018478_5428.cpp:11:12: error: 'Con' was not declared in this scope
 #define CI Con int&
            ^
0_0_32018478_5428.cpp:20:17: note: in expansion of macro 'CI'
 I bool cmp(CI x,CI y) {return 1LL*b[x]*a[y]<1LL*b[y]*a[x];}
                 ^
0_0_32018478_5428.cpp:20:21: error: expression list treated as compound expression in initializer [-fpermissive]
 I bool cmp(CI x,CI y) {return 1LL*b[x]*a[y]<1LL*b[y]*a[x];}
                     ^
0_0_32018478_5428.cpp:20:23: error: expected ',' or ';' before '{' token
 I bool cmp(CI x,CI y) {return 1LL*b[x]*a[y]<1LL*b[y]*a[x];}
                       ^
0_0_32018478_5428.cpp:11:12: error: 'Con' has not been declared
 #define CI Con int&
            ^
0_0_32018478_5428.cpp:42:21: note: in expansion of macro 'CI'
         I void  Upt(CI x,Con LL& y,Con LL& z,PT)//单点修改
                     ^
0_0_32018478_5428.cpp:42:24: error: two or more data types in declaration of 'x'
         I void  Upt(CI x,Con LL& y,Con LL& z,PT)//单点修改
                        ^
0_0_32018478_5428.cpp:42:25: error: expected ')' before ',' token
         I void  Upt(CI x,Con LL& y,Con LL& z,PT)//单点修改
                         ^
0_0_32018478_5428.cpp:42:26: error: variable or field 'Con' declared void
         I void  Upt(CI x,Con LL& y,Con LL& z,PT)//单点修改
                          ^
0_0_32018478_5428.cpp:42:26: error: expected ';' at end of member declaration
0_0_32018478_5428.cpp:42:36: error: expected ';' at end of member declaration
         I void  Upt(CI x,Con LL& y,Con LL& z,PT)//单点修改
                                    ^
0_0_32018478_5428.cpp:11:12: error: expected ';' at end of member declaration
 #define CI Con int&
            ^
0_0_32018478_5428.cpp:36:20: note: in expansion of macro 'CI'
         #define PT CI l=1,CI r=n,CI rt=1
                    ^
0_0_32018478_5428.cpp:42:46: note: in expansion of macro 'PT'
         I void  Upt(CI x,Con LL& y,Con LL& z,PT)//单点修改
                                              ^
0_0_32018478_5428.cpp:11:12: error: redeclaration of 'long long int SegmentTree::Con'
 #define CI Con int&
            ^
0_0_32018478_5428.cpp:36:20: note: in expansion of macro 'CI'
         #define PT CI l=1,CI r=n,CI rt=1
                    ^
0_0_32018478_5428.cpp:42:46: note: in expansion of macro 'PT'
         I void  Upt(CI x,Con LL& y,Con LL& z,PT)//单点修改
                                              ^
0_0_32018478_5428.cpp:42:36: note: previous declaration 'long long int SegmentTree::Con'
         I void  Upt(CI x,Con LL& y,Con LL& z,PT)//单点修改
                                    ^
0_0_32018478_5428.cpp:11:12: error: expected ';' at end of member declaration
 #define CI Con int&
            ^
0_0_32018478_5428.cpp:36:27: note: in expansion of macro 'CI'
         #define PT CI l=1,CI r=n,CI rt=1
                           ^
0_0_32018478_5428.cpp:42:46: note: in expansion of macro 'PT'
         I void  Upt(CI x,Con LL& y,Con LL& z,PT)//单点修改
                                              ^
0_0_32018478_5428.cpp:11:12: error: redeclaration of 'int SegmentTree::Con'
 #define CI Con int&
            ^
0_0_32018478_5428.cpp:36:27: note: in expansion of macro 'CI'
         #define PT CI l=1,CI r=n,CI rt=1
                           ^
0_0_32018478_5428.cpp:42:46: note: in expansion of macro 'PT'
         I void  Upt(CI x,Con LL& y,Con LL& z,PT)//单点修改
                                              ^
0_0_32018478_5428.cpp:42:36: note: previous declaration 'long long int SegmentTree::Con'
         I void  Upt(CI x,Con LL& y,Con LL& z,PT)//单点修改
                                    ^
0_0_32018478_5428.cpp:11:12: error: expected ';' at end of member declaration
 #define CI Con int&
            ^
0_0_32018478_5428.cpp:36:34: note: in expansion of macro 'CI'
         #define PT CI l=1,CI r=n,CI rt=1
                                  ^
0_0_32018478_5428.cpp:42:46: note: in expansion of macro 'PT'
         I void  Upt(CI x,Con LL& y,Con LL& z,PT)//单点修改
                                              ^
0_0_32018478_5428.cpp:11:12: error: redeclaration of 'int SegmentTree::Con'
 #define CI Con int&
            ^
0_0_32018478_5428.cpp:36:34: note: in expansion of macro 'CI'
         #define PT CI l=1,CI r=n,CI rt=1
                                  ^
0_0_32018478_5428.cpp:42:46: note: in expansion of macro 'PT'
         I void  Upt(CI x,Con LL& y,Con LL& z,PT)//单点修改
                                              ^
0_0_32018478_5428.cpp:42:36: note: previous declaration 'long long int SegmentTree::Con'
         I void  Upt(CI x,Con LL& y,Con LL& z,PT)//单点修改
                                    ^
0_0_32018478_5428.cpp:36:40: error: expected ';' at end of member declaration
         #define PT CI l=1,CI r=n,CI rt=1
                                        ^
0_0_32018478_5428.cpp:42:46: note: in expansion of macro 'PT'
         I void  Upt(CI x,Con LL& y,Con LL& z,PT)//单点修改
                                              ^
0_0_32018478_5428.cpp:42:48: error: expected unqualified-id before ')' token
         I void  Upt(CI x,Con LL& y,Con LL& z,PT)//单点修改
                                                ^
0_0_32018478_5428.cpp:47:20: error: 'Con' is not a type
         I int Qmid(Con LL& rk,PT)//求中位数
                    ^
0_0_32018478_5428.cpp:11:12: error: 'Con' is not a type
 #define CI Con int&
            ^
0_0_32018478_5428.cpp:36:20: note: in expansion of macro 'CI'
         #define PT CI l=1,CI r=n,CI rt=1
                    ^
0_0_32018478_5428.cpp:47:31: note: in expansion of macro 'PT'
         I int Qmid(Con LL& rk,PT)//求中位数
                               ^
0_0_32018478_5428.cpp:36:25: error: two or more data types in declaration of 'l'
         #define PT CI l=1,CI r=n,CI rt=1
                         ^
0_0_32018478_5428.cpp:47:31: note: in expansion of macro 'PT'
         I int Qmid(Con LL& rk,PT)//求中位数
                               ^
0_0_32018478_5428.cpp:36:26: error: expected ')' before ',' token
         #define PT CI l=1,CI r=n,CI rt=1
                          ^
0_0_32018478_5428.cpp:47:31: note: in expansion of macro 'PT'
         I int Qmid(Con LL& rk,PT)//求中位数
                               ^
0_0_32018478_5428.cpp:11:12: error: 'Con' declared as an 'inline' field
 #define CI Con int&
            ^
0_0_32018478_5428.cpp:36:27: note: in expansion of macro 'CI'
         #define PT CI l=1,CI r=n,CI rt=1
                           ^
0_0_32018478_5428.cpp:47:31: note: in expansion of macro 'PT'
         I int Qmid(Con LL& rk,PT)//求中位数
                               ^
0_0_32018478_5428.cpp:11:12: error: expected ';' at end of member declaration
 #define CI Con int&
            ^
0_0_32018478_5428.cpp:36:27: note: in expansion of macro 'CI'
         #define PT CI l=1,CI r=n,CI rt=1
                           ^
0_0_32018478_5428.cpp:47:31: note: in expansion of macro 'PT'
         I int Qmid(Con LL& rk,PT)//求中位数
                               ^
0_0_32018478_5428.cpp:11:12: error: redeclaration of 'int SegmentTree::Con'
 #define CI Con int&
            ^
0_0_32018478_5428.cpp:36:27: note: in expansion of macro 'CI'
         #define PT CI l=1,CI r=n,CI rt=1
                           ^
0_0_32018478_5428.cpp:47:31: note: in expansion of macro 'PT'
         I int Qmid(Con LL& rk,PT)//求中位数
                               ^
0_0_32018478_5428.cpp:42:36: note: previous declaration 'long long int SegmentTree::Con'
         I void  Upt(CI x,Con LL& y,Con LL& z,PT)//单点修改
                                    ^
0_0_32018478_5428.cpp:36:33: error: redeclaration of 'int& SegmentTree::r'
         #define PT CI l=1,CI r=n,CI rt=1
                                 ^
0_0_32018478_5428.cpp:47:31: note: in expansion of macro 'PT'
         I int Qmid(Con LL& rk,PT)//求中位数
                               ^
0_0_32018478_5428.cpp:36:32: note: previous declaration 'int& SegmentTree::r'
         #define PT CI l=1,CI r=n,CI rt=1
                                ^
0_0_32018478_5428.cpp:42:46: note: in expansion of macro 'PT'
         I void  Upt(CI x,Con LL& y,Con LL& z,PT)//单点修改
                                              ^
0_0_32018478_5428.cpp:11:12: error: expected ';' at end of member declaration
 #define CI Con int&
            ^
0_0_32018478_5428.cpp:36:34: note: in expansion of macro 'CI'
         #define PT CI l=1,CI r=n,CI rt=1
                                  ^
0_0_32018478_5428.cpp:47:31: note: in expansion of macro 'PT'
         I int Qmid(Con LL& rk,PT)//求中位数
                               ^
0_0_32018478_5428.cpp:11:12: error: redeclaration of 'int SegmentTree::Con'
 #define CI Con int&
            ^
0_0_32018478_5428.cpp:36:34: note: in expa


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 11:13:58, Gzip enabled