作业
Gantz_Amier
这个作者很懒,什么都没留下…
展开
-
计算两个数的最大公约数
201111621310public static int get max(int a,int b){ if(a>b) { int temp; temp = a; a=b; b = temp; if(b==0) { return a; } 修改后的程序public static int get原创 2014-03-12 12:54:43 · 937 阅读 · 0 评论 -
第三周作业
第三周作业——冒泡排序和归并排序#include #include #include using namespace std;冒泡//Bubble sortvoid bubbleSort() {int Text[10000000];int j;int k;int Transit;int i = 0;ifstream fileInput;fstr原创 2014-04-02 22:48:25 · 528 阅读 · 0 评论