摘要: package test; import java.util.*; public class test17 { public static void main(String[] args) { //统计一个数字在排序数组中出现的次数。 int [] a= {1,1,1,2,3,4,5,6,7,8,9 阅读全文
posted @ 2019-11-30 13:54 天坪宇智波小白 阅读(190) 评论(0) 推荐(0) 编辑
摘要: package test; import java.util.*; public class test17 { public static void main(String[] args) { //一个整型数组里除了两个数字之外,其他的数字都出现了两次。 // 请写程序找出这两个只出现一次的数字。 阅读全文
posted @ 2019-11-30 11:58 天坪宇智波小白 阅读(278) 评论(0) 推荐(0) 编辑