#32220: c語言可以直接用二分搜函式


yp11051026@yphs.tp.edu.tw (911-24吳秉儒)


binary_search(v.begin(),v.end(),int n);

在 <algorithm> 標頭檔裡