继续潜水

导航

 

2018年1月26日

摘要: 大致是完成了,但是在线程回调的时候还是不能把原有输出回调回来,如果有好的办法,请留言!!!谢谢 阅读全文
posted @ 2018-01-26 13:34 继续潜水 阅读(277) 评论(0) 推荐(0) 编辑
 
摘要: /** * 输入一个Long数组,按要求输出一个等长的Long数组 * 输出数组的元素值等于,输入数组除相同下标外其他元素的积 * 如:输入[1, 2, 3, 4], 输出[24, 12, 8, 6] * 输出数组:output[0] = input[1] * input[2] * input[3],即 24 = 2 * 3 * 4 * output[1] = inpu... 阅读全文
posted @ 2018-01-26 13:30 继续潜水 阅读(518) 评论(1) 推荐(0) 编辑
 
摘要: import java.util.Arrays; public class sk1 { public static void main(String[] args){ int [][] two = {{1,2,3},{4,10},{2,5,8}}; int[] result = merge(two); for(int i... 阅读全文
posted @ 2018-01-26 13:29 继续潜水 阅读(191) 评论(0) 推荐(0) 编辑
 
摘要: 解释: SELECT case -------------如果 when sex='1' then '男' -------------sex='1',则返回值'男' when sex='2' then '女' -------------sex='2',则返回值'女' else 0 ... 阅读全文
posted @ 2018-01-26 10:20 继续潜水 阅读(419) 评论(0) 推荐(0) 编辑