摘要: 斐波那契数列: package com.mj; public class Main { public static void main(String[] args) { // TODO Auto-generated method stub System.out.println(fib2(46)); 阅读全文
posted @ 2020-08-12 16:35 liuw_flexi 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 排序算法: #include <iostream> //冒泡排序 void bubbleSort(int array[],int size){ std::cout << "array= " << array << std::endl; for (int end = size-1; end > 0; 阅读全文
posted @ 2020-08-12 16:34 liuw_flexi 阅读(121) 评论(0) 推荐(0) 编辑