
C#
文章平均质量分 56
mad-coding
If you want to succeed,just do it!
展开
-
拿鸡蛋问题
题目:1个1个拿,正好拿完。2个2个拿,还剩1个。3个3个拿,正好拿完。4个4个拿,还剩一个。5个5个拿,还差1个。 6个6个拿,还剩3个。7个7个拿,正好拿完。8个8个拿,还剩1个。9个9个拿,真好拿完。 问框里最少有多少个鸡蛋。代码:using System;using System.Collections.Generic;using System.Linq;us原创 2018-01-04 22:13:57 · 1710 阅读 · 0 评论 -
螺旋矩阵
题目:从控制台打印出螺旋矩阵例:1 2 3 4 12 13 14 5 11 16 15 6 10 9 8 7程序:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace 螺旋矩阵{原创 2018-01-07 19:40:03 · 324 阅读 · 0 评论