[置顶] 该程序仅适合初级菜鸟程序员
摘要:
题目:100个犯人 编号 围成一个圈 一个个报数 报到5的枪毙 一次循环 最后活下来的是 第几号。?using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication1{ class Program { static void Main(string[] args) { int[] a = new int[100]; for (int i = 0; i < 100; i++) { a[i] ... 阅读全文
posted @ 2012-11-30 19:21 轻狂单纯心 阅读(117) 评论(0) 推荐(0)