摘要:
如果A有N本书,我们要将这N本书分给三个人,有多少中分法。程序实现如下:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1usingSystem;2usingSystem.Collections.Generic;3usingSystem.Text;45... 阅读全文
摘要:
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1usingSystem;2usingSystem.Collections.Generic;3usingSystem.Text;45namespaceTest6{7classProgram8{9stati... 阅读全文
摘要:
在一项比赛评分中,有10个评委为参与的选手打分,分数为1到100分,选手最后得分为:去掉一个最高分和一个最低分其余8个数的平均值。程序实现如下:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1usingSystem;2usingSystem.Coll... 阅读全文