岁月如诗

导航

2016年6月24日 #

练习1

摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks; namespace _624练习{ class Program { stat 阅读全文

posted @ 2016-06-24 23:09 镜花水月☪ 阅读(248) 评论(0) 推荐(0)

for穷举

摘要: 穷举:把所有可能的情况都走一遍,使用if条件筛选出来满足的条件的情况。(把所有的可能性都列举一边) 迭代:从初始情况按照规律不断求解中间情况,最终推导出结果。f foreach 专为数组定义的一种命令, while: 当......的时候 int n=1; while(n<6)//在括号内直接限制循 阅读全文

posted @ 2016-06-24 16:26 镜花水月☪ 阅读(166) 评论(0) 推荐(0)