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_37792098_22447.cpp:46:9: error: redefinition of 'int m'
     int m=(l+r)>>1;
         ^
0_0_37792098_22447.cpp:8:7: note: 'int m' previously declared here
 int n,m,t;
       ^
0_0_37792098_22447.cpp:46:12: error: 'l' was not declared in this scope
     int m=(l+r)>>1;
            ^
0_0_37792098_22447.cpp:46:14: error: 'r' was not declared in this scope
     int m=(l+r)>>1;
              ^
0_0_37792098_22447.cpp:48:5: error: expected unqualified-id before 'if'
     if(L<=m)
     ^
0_0_37792098_22447.cpp:50:5: error: expected unqualified-id before 'if'
     if(R>m)
     ^
0_0_37792098_22447.cpp:52:5: error: expected unqualified-id before 'return'
     return res;
     ^
0_0_37792098_22447.cpp:53:1: error: expected declaration before '}' token
 }
 ^


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 14:54:44, Gzip enabled