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_21294189_25685.cpp:111:1: error: stray '\323' in program
 用标准库里的二分查找函数实现二分查找
 ^
0_0_21294189_25685.cpp:111:1: error: stray '\303' in program
0_0_21294189_25685.cpp:111:1: error: stray '\261' in program
0_0_21294189_25685.cpp:111:1: error: stray '\352' in program
0_0_21294189_25685.cpp:111:1: error: stray '\327' in program
0_0_21294189_25685.cpp:111:1: error: stray '\274' in program
0_0_21294189_25685.cpp:111:1: error: stray '\277' in program
0_0_21294189_25685.cpp:111:1: error: stray '\342' in program
0_0_21294189_25685.cpp:111:1: error: stray '\300' in program
0_0_21294189_25685.cpp:111:1: error: stray '\357' in program
0_0_21294189_25685.cpp:111:1: error: stray '\265' in program
0_0_21294189_25685.cpp:111:1: error: stray '\304' in program
0_0_21294189_25685.cpp:111:1: error: stray '\266' in program
0_0_21294189_25685.cpp:111:1: error: stray '\376' in program
0_0_21294189_25685.cpp:111:1: error: stray '\267' in program
0_0_21294189_25685.cpp:111:1: error: stray '\326' in program
0_0_21294189_25685.cpp:111:1: error: stray '\262' in program
0_0_21294189_25685.cpp:111:1: error: stray '\351' in program
0_0_21294189_25685.cpp:111:1: error: stray '\325' in program
0_0_21294189_25685.cpp:111:1: error: stray '\322' in program
0_0_21294189_25685.cpp:111:1: error: stray '\272' in program
0_0_21294189_25685.cpp:111:1: error: stray '\257' in program
0_0_21294189_25685.cpp:111:1: error: stray '\312' in program
0_0_21294189_25685.cpp:111:1: error: stray '\375' in program
0_0_21294189_25685.cpp:111:1: error: stray '\312' in program
0_0_21294189_25685.cpp:111:1: error: stray '\265' in program
0_0_21294189_25685.cpp:111:1: error: stray '\317' in program
0_0_21294189_25685.cpp:111:1: error: stray '\326' in program
0_0_21294189_25685.cpp:111:1: error: stray '\266' in program
0_0_21294189_25685.cpp:111:1: error: stray '\376' in program
0_0_21294189_25685.cpp:111:1: error: stray '\267' in program
0_0_21294189_25685.cpp:111:1: error: stray '\326' in program
0_0_21294189_25685.cpp:111:1: error: stray '\262' in program
0_0_21294189_25685.cpp:111:1: error: stray '\351' in program
0_0_21294189_25685.cpp:111:1: error: stray '\325' in program
0_0_21294189_25685.cpp:111:1: error: stray '\322' in program
0_0_21294189_25685.cpp:7:37: error: 'intarray_size' has not been declared
 int binary_search1(int arrayname[], intarray_size, int searchnumber)
                                     ^
0_0_21294189_25685.cpp: In function 'int binary_search1(int*, int, int)':
0_0_21294189_25685.cpp:11:8: error: 'intlow' was not declared in this scope
        intlow = 0, high = array_size - 1, mid;
        ^
0_0_21294189_25685.cpp:11:20: error: 'high' was not declared in this scope
        intlow = 0, high = array_size - 1, mid;
                    ^
0_0_21294189_25685.cpp:11:27: error: 'array_size' was not declared in this scope
        intlow = 0, high = array_size - 1, mid;
                           ^
0_0_21294189_25685.cpp:11:43: error: 'mid' was not declared in this scope
        intlow = 0, high = array_size - 1, mid;
                                           ^
0_0_21294189_25685.cpp:15:14: error: 'low' was not declared in this scope
        while(low <= high)
              ^
0_0_21294189_25685.cpp:25:22: error: 'returnmid' was not declared in this scope
                      returnmid;     //找到则返回相应的位置
                      ^
0_0_21294189_25685.cpp: In function 'int main()':
0_0_21294189_25685.cpp:121:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_21294189_25685.cpp:43:5: note: 'int main()' previously defined here
 int main()
     ^


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-23 06:18:47, Gzip enabled