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_36411171_32655.cpp:23:1: error: stray '\243' in program
 int fff=1;
 ^
0_0_36411171_32655.cpp:23:1: error: stray '\273' in program
0_0_36411171_32655.cpp: In function 'int RMQ(int, int)':
0_0_36411171_32655.cpp:24:6: error: expected ',' or ';' before 'int'
      int k = 0;
      ^
0_0_36411171_32655.cpp:25:15: error: 'k' was not declared in this scope
      while(1<<k+1 <= r-l+1) k++;
               ^
0_0_36411171_32655.cpp:26:28: error: 'k' was not declared in this scope
      int maxn = max(dp1[l][k],dp1[r-(1<<k)+1][k]);
                            ^


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-07-06 05:54:21, Gzip enabled