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_28056120_10555.cpp:25:8: error: 'll' was not declared in this scope
 int ch(ll mid)
        ^
0_0_28056120_10555.cpp:26:1: error: expected ',' or ';' before '{' token
 {
 ^
0_0_28056120_10555.cpp: In function 'int main()':
0_0_28056120_10555.cpp:44:3: error: 'll' was not declared in this scope
   ll l=0,r=mx,mid,ans=-1;
   ^
0_0_28056120_10555.cpp:45:9: error: 'l' was not declared in this scope
   while(l<=r)
         ^
0_0_28056120_10555.cpp:45:12: error: 'r' was not declared in this scope
   while(l<=r)
            ^
0_0_28056120_10555.cpp:47:4: error: 'mid' was not declared in this scope
    mid=l+r>>1;
    ^
0_0_28056120_10555.cpp:48:13: error: 'ch' cannot be used as a function
    if(ch(mid))
             ^
0_0_28056120_10555.cpp:51:5: error: 'ans' was not declared in this scope
     ans=mid;
     ^
0_0_28056120_10555.cpp:56:19: error: 'ans' was not declared in this scope
   printf("%lld\n",ans);
                   ^


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 11:16:35, Gzip enabled