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_25566450_12455.cpp:39:32: error: 'll' is not a type
 ll query(ll rt,ll l,ll r,ll ll,ll rr)
                                ^
0_0_25566450_12455.cpp: In function 'll query(ll, ll, ll, ll, int)':
0_0_25566450_12455.cpp:45:8: error: expected ';' before 'mid'
     ll mid = (l + r) >> 1;
        ^
0_0_25566450_12455.cpp:46:8: error: expected ';' before 'x'
     ll x = 0,y = 0;
        ^
0_0_25566450_12455.cpp:47:15: error: 'mid' was not declared in this scope
     if (ll <= mid) x = query(rt << 1,l,mid,ll,rr);
               ^
0_0_25566450_12455.cpp:47:20: error: 'x' was not declared in this scope
     if (ll <= mid) x = query(rt << 1,l,mid,ll,rr);
                    ^
0_0_25566450_12455.cpp:48:14: error: 'mid' was not declared in this scope
     if (rr > mid) y = query(rt << 1|1,mid + 1,r,ll,rr);
              ^
0_0_25566450_12455.cpp:48:19: error: 'y' was not declared in this scope
     if (rr > mid) y = query(rt << 1|1,mid + 1,r,ll,rr);
                   ^
0_0_25566450_12455.cpp:49:16: error: 'x' was not declared in this scope
     return max(x,y);
                ^
0_0_25566450_12455.cpp:49:18: error: 'y' was not declared in this scope
     return max(x,y);
                  ^


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-09-29 21:17:32, Gzip enabled