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_20177585_21368.cpp:13:12: error: expected ',' or '...' before 'long'
 #define LL long long int
            ^
0_0_20177585_21368.cpp:50:27: note: in expansion of macro 'LL'
     querySum(LL now, LL l LL r, LL ql, LL qr);
                           ^
0_0_20177585_21368.cpp:53:6: error: prototype for 'void segmentTree::pushUp(long long int)' does not match any in class 'segmentTree'
 void segmentTree:: pushUp(LL now)
      ^
0_0_20177585_21368.cpp:45:5: error: candidate is: int segmentTree::pushUp(long long int)
     pushUp(LL now);
     ^
0_0_20177585_21368.cpp:59:6: error: prototype for 'void segmentTree::build(long long int, long long int, long long int)' does not match any in class 'segmentTree'
 void segmentTree:: build(LL now, LL l, LL r)
      ^
0_0_20177585_21368.cpp:47:5: error: candidate is: int segmentTree::build(long long int, long long int, long long int)
     build(LL now, LL l, LL r);
     ^
0_0_20177585_21368.cpp:72:6: error: prototype for 'void segmentTree::pushDown(long long int, long long int, long long int)' does not match any in class 'segmentTree'
 void segmentTree:: pushDown(LL now, LL l, LL r)
      ^
0_0_20177585_21368.cpp:46:5: error: candidate is: int segmentTree::pushDown(long long int, long long int, long long int)
     pushDown(LL now, LL l, LL r);
     ^
0_0_20177585_21368.cpp:94:6: error: prototype for 'void segmentTree::update(long long int, long long int, long long int, long long int, long long int, long long int)' does not match any in class 'segmentTree'
 void segmentTree:: update(LL now, LL l, LL r, LL ql, LL qr, LL val)
      ^
0_0_20177585_21368.cpp:48:5: error: candidate is: int segmentTree::update(long long int, long long int, long long int, long long int, long long int, long long int)
     update(LL now, LL l, LL r, LL ql, LL qr, LL val);
     ^
0_0_20177585_21368.cpp:118:4: error: prototype for 'long long int segmentTree::querySum(long long int, long long int, long long int, long long int, long long int)' does not match any in class 'segmentTree'
 LL segmentTree:: querySum(LL now, LL l, LL r, LL ql, LL qr)
    ^
0_0_20177585_21368.cpp:50:5: error: candidate is: int segmentTree::querySum(long long int, long long int)
     querySum(LL now, LL l LL r, LL ql, LL qr);
     ^
0_0_20177585_21368.cpp:142:4: error: prototype for 'long long int segmentTree::queryMax(long long int, long long int, long long int, long long int, long long int)' does not match any in class 'segmentTree'
 LL segmentTree:: queryMax(LL now, LL l, LL r, LL ql, LL qr)
    ^
0_0_20177585_21368.cpp:49:5: error: candidate is: int segmentTree::queryMax(long long int, long long int, long long int, long long int, long long int)
     queryMax(LL now, LL l, LL r, LL ql, LL qr);
     ^


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-22 15:33:32, Gzip enabled