摘要: We all love recursion! Don't we?Consider a three-parameter recursive function w(a, b, c):if a 20 or b > 20 or c > 20, then w(a, b, c) returns:w(20, 2... 阅读全文
posted @ 2012-07-30 10:43 calmound 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 从顶到底的最大和是多少#include#includeint main(){ int n,i,j; int a[110][100]; int sum[110]; int ans; while(scanf("%d",&n)!=EOF) { for (i... 阅读全文
posted @ 2012-07-30 09:47 calmound 阅读(147) 评论(0) 推荐(0) 编辑