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_20956395_30083.cpp:1:1: error: 'l' does not name a type
 l=max (l,0);
 ^
0_0_20956395_30083.cpp:2:17: error: 'r' does not name a type
                 r=min(r,m-1);
                 ^
0_0_20956395_30083.cpp:3:29: error: 'l' was not declared in this scope
                 int fx=find(l);
                             ^
0_0_20956395_30083.cpp:3:30: error: 'find' was not declared in this scope
                 int fx=find(l);
                              ^
0_0_20956395_30083.cpp:4:17: error: expected unqualified-id before 'for'
                 for (int i=r; i>=l;)
                 ^
0_0_20956395_30083.cpp:4:31: error: 'i' does not name a type
                 for (int i=r; i>=l;)
                               ^
0_0_20956395_30083.cpp:4:36: error: expected unqualified-id before ')' token
                 for (int i=r; i>=l;)
                                    ^


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-28 07:07:37, Gzip enabled