2012年5月17日

[原] 圆环-2011百度之星初赛题目

摘要: /*@author tilltheendwjx@blog http://blog.csdn.net/wjh200821或者http://www.cnblogs.com/tilltheendwjx/ */ #include<iostream>#include<vector>using namespace std;int gcd(int a,int b){ while(1) { int tmp=a%b; if(tmp==0) return b; b=tmp; a=b; ... 阅读全文

posted @ 2012-05-17 14:25 tilltheendwjx 阅读(609) 评论(2) 推荐(0) 编辑

园艺布置-百度之星2011初赛题目求解

摘要: 1 /* 2 @author tilltheendwjx 3 @blog http://blog.csdn.net/wjh200821或者http://www.cnblogs.com/tilltheendwjx/ 4 */ 5 #include<iostream> 6 using namespace std; 7 8 int gcd(int a,int b) 9 {10 while(1)11 {12 int tmp=a%b;13 if(tmp==0)14 return b;15 b=tmp;1... 阅读全文

posted @ 2012-05-17 11:47 tilltheendwjx 阅读(494) 评论(0) 推荐(0) 编辑

导航