純C語言:分治假幣問題源碼

#include<iostream.h> #include<malloc.h> int get_false_coin(int coin[],int low,int high) { int i,sum1=0,sum2=0,sum3=0; if(low==high-1) { if(coin[low]<coin[high]) return low; else return h
相關文章
相關標籤/搜索