摘要: 问题:打印出杨辉三角形的前n行(nint main() { int n; scanf("%d",&n); int arr[25][25]; int i,j; //计算每一行的值 arr[1][1] = 1; for( i=2; i<=20; i++){ arr[i][1] = arr[i][i] ... 阅读全文
posted @ 2015-05-24 08:46 chaoer 阅读(235) 评论(0) 推荐(0)
摘要: 问题:Write a program to solve a Sudoku puzzle by filling the empty cells.Empty cells are indicated by the character '.'.You may assume that there will b... 阅读全文
posted @ 2015-05-24 08:37 chaoer 阅读(200) 评论(0) 推荐(0)