2013年7月12日
摘要: 枚举出来的结果,这是看别人写的代码 1 #include 2 int main() 3 { 4 int a[2000],m2=0,m3=0,m5=0,i,t; 5 a[0]=1; 6 for(i=1;i3*a[m3]) 9 t=a[m3]*3;10 else11 t=a[m2]*2;12 if(t>a[m5]*5)13 t=a[m5]*5;14 15 if(t == 2*a[m2]) m2++;16 if(t == 3*a[m3]) m... 阅读全文
posted @ 2013-07-12 11:20 Ac_国士无双 阅读(223) 评论(0) 推荐(0) 编辑