随笔分类 -  Pproject Euler

摘要:Problem 2Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 terms will be:1... 阅读全文
posted @ 2013-09-09 23:34 ithaibo 阅读(120) 评论(0) 推荐(0)
摘要:#includeint main(void){ int n1, n2,n3; n1=333*(3+999)/2; n2=199*(5+995)/2; n3=66*(15+990)/2; printf("%d\n",n1+n2-n3); n1=getchar(); return 0;}Multiple... 阅读全文
posted @ 2013-09-08 22:16 ithaibo 阅读(128) 评论(0) 推荐(0)

请留下你的高见