- 博客(5)
- 收藏
- 关注
原创 求斐波拉契序列和回文数
# include /* 2014年8月5日14:34:10 目的: 掌握斐波拉契序列 */ int main(void) { int n;//序列中的第几个数 int n1, n2, n3;//斐波拉契序列中的3个连续数 n1 = 1;//序列中第一个数初始值 n2 = 2;//序列中第二个数初始值 printf(" 请输入你要求的序列"); scanf("%d
2014-08-05 15:23:48
622
转载 Java, ArrayList and Exception in thread “AWT-EventQueue-0” java.util.ConcurrentModificationException
Java, ArrayList and Exception in thread “AWT-EventQueue-0” java.util.ConcurrentModificationException
2014-07-30 10:12:33
1154
原创 Java简单算法之 冒泡排序 选择排序 插入排序
1冒泡排序 public class BubbleSort { public static void main(String[] args) { int[] arr = { 44, 33, 11, 22, 88, 55, 77, 66 }; //定义一个数组,里面的数字是无序的 bubbleSort(arr); for (int i = 0; i < arr.length
2014-07-27 19:27:15
381
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人