摘要:
参考:《挑战程序设计竞赛》 1.辗转相除法 gcd和lcm 代码: python include include include using namespace std; //===================// //int 类型函数gcd: //计算最大公约数。 //方法:辗转相除。 //= 阅读全文
摘要:
题目: "一只小蜜蜂" 递归做法: python include include include include include using namespace std; int cnt=0;//count int a,b; //int flag=0; int tran[3]={1,2};//坐标移 阅读全文