摘要:
lower_bound( )和upper_bound( )都是利用二分查找的方法在一个排好序的数组中进行查找的。 在从小到大的排序数组中, lower_bound( begin,end,num):从数组的begin位置到end-1位置二分查找第一个大于或等于num的数字,找到返回该数字的地址,不存在 阅读全文
摘要:
题目链接:https://vjudge.net/problem/127221/origin A string is called palindrome if it reads the same from left to right and from right to left. For exampl 阅读全文