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_21338113_15495.cpp: In function 'int query(int, int, int, int, int)':
0_0_21338113_15495.cpp:81:37: error: 'x' was not declared in this scope
     if(left<=l&&r<=right)return pos[x];
                                     ^
0_0_21338113_15495.cpp: In function 'bool check(int, int)':
0_0_21338113_15495.cpp:98:11: error: 'i' was not declared in this scope
     if(lm[i]!=l&&rm[i]!=r)return 0;
           ^


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.015600(s) query 1, Server time : 2024-07-07 09:23:01, Gzip enabled