会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
a56爆大奖在线娱乐的博客
a56爆大奖在线娱乐的园子
账号设置
简洁模式
...
退出登录
注册
登录
soft.push("zzq")
CnBlogs
Home
New Post
Contact
Admin
Subscription
有序的整型数组(升序),给定一个数,两数相加返回true,否则返回false
public static boolean sum2(int ary[], int sum) { int start = 0; int end = ary.length - 1; for (; start < end; ) { if (ary[start] + ary[end] == sum) {
posted @
2020-12-11 18:42
soft.push("zzq")
Views(
106
) Comments(
0
)
Edit
收藏
举报
会员力量,点亮园子希望
刷新页面
返回顶部
公告