cdo

导航

随笔分类 -  Collection

Programs/Problems/Q&A
From CSDN
摘要:1. 以下三条输出语句分别输出什么?[C易]char str1[] = "abc";char str2[] = "abc";const char str3[] = "abc"; const char str4[] = "abc"; const char* str5 = "abc";const char* str6 = "abc";cout > temp;unsigned... 阅读全文

posted @ 2005-11-08 13:19 Cdo 阅读(587) 评论(1) 推荐(0)

Mathematica's Google Aptitude
摘要:Mathematica's Google Aptitude By Ed Pegg Jr. and Eric W. Weisstein With additional contributions by Daniel Lichtblau, Adam Strzebonski, Oyvind Tafjord, and Michael Trott October 13--Many internet deni... 阅读全文

posted @ 2005-11-08 09:15 Cdo 阅读(750) 评论(0) 推荐(1)

圆周率求解
摘要:#include #include long a=10000,b,c=2800,d,e,f[2801],g; main() { for(;b-c;) f[b++]=a/5; for(;d=0,g=c*2;c-=14,printf("%.4d",e+d/a),e=d%a) for(b=c;d+=f[b]*a,f[b]=d%--g,d/=g--,--b;d*=b); ... 阅读全文

posted @ 2005-11-07 20:36 Cdo 阅读(400) 评论(0) 推荐(0)