- 博客(4)
- 收藏
- 关注
原创 java冒泡排序
public class BubbleSort { public static void main(String[] args) { int arr[] = new int[]{55,12,52,35,68,3,9,12,4124,532}; for (int i = 0;i < arr.length;i++){ for (int j = 0;j < arr.length-1-i; j++){ if
2021-06-18 16:28:17
78
原创 100000以内的质数,及其优化
100以内的质数,及其优化花费的时间1:18034质数的个数为9592花费的时间2:1677质数的个数为9592花费的时间3:20质数的个数为9592public class PrimeNumberTest { public static void main(String[] args) { Methods m = new Methods(); m.method1(); m.method2();
2021-06-18 14:32:35
306
原创 九九乘法表
//嵌套循环应用1: 九九乘法表public class Nine { public static void main(String[] args) { //第一层循环控制行数 第二层循环控制列数 for (int i=1;i<=9;i++){ for (int j=1;j<=i;j++){ System.out.print(i+" * " + j + " = " + (i*j)+" "); .
2021-06-16 13:45:30
73
原创 U-Net预测自己数据集全黑解决方法
1.注意test测试集内的图片格式,直接替换源代码内的test测试集的话,图片格式要与原来的保持一致,尤其是图片的位深(我用到的代码内测试集图片格式是.png位深为8,所以换成自己的要与这个一致)我用的方法比较原始,用的PConverter.exe软件把原来的图片转换成了8位深(PConverter参数如下)。train下的图片位深我测试了24位的,没有问题。test下的24位会报错:expect...
2019-03-14 09:32:37
12541
9
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人