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_36581112_5109.cpp: In function 'bool biSearch(int, int)':
0_0_36581112_5109.cpp:7:83: error: expected ';' before ')' token
     else if(uni[left+(right-left)/2]>day)return biSearch(left,left+(right-left)/2));
                                                                                   ^
0_0_36581112_5109.cpp:7:83: error: expected primary-expression before ')' token
0_0_36581112_5109.cpp:8:5: error: 'else' without a previous 'if'
     else return biSearch(left+(right-left)/2),right);
     ^
0_0_36581112_5109.cpp:8:45: error: too few arguments to function 'bool biSearch(int, int)'
     else return biSearch(left+(right-left)/2),right);
                                             ^
0_0_36581112_5109.cpp:3:6: note: declared here
 bool biSearch(int left,int right)
      ^
0_0_36581112_5109.cpp:8:52: error: expected ';' before ')' token
     else return biSearch(left+(right-left)/2),right);
                                                    ^
0_0_36581112_5109.cpp:8:52: error: expected primary-expression before ')' token
0_0_36581112_5109.cpp:9:1: error: expected primary-expression before ']' token
 ]
 ^
0_0_36581112_5109.cpp:23:1: error: expected '}' at end of input
 }
 ^


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-06-26 21:51:39, Gzip enabled