摘要:
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> #include void main(){ in... 阅读全文
摘要:
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> #include void main(){ floa... 阅读全文
摘要:
代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> #include void ma... 阅读全文
摘要:
代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> #include void ma... 阅读全文
摘要:
从3个红球、6个白球和7个黑球中,任意取出8个球作为一组输出,在每组中,可以没有黑球,但必须要有红球和白球 求总的组数以及每组的红球、白球、黑球的数目。 思路:红球取值范围为1个到3个,白球为1个到6个,黑球为0个到7个 代码 Code highlighting pr... 阅读全文
摘要:
代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> #include void ma... 阅读全文
摘要:
输入一个整数n,求n的各位上的数字之积。例如,若输入918,则输出应该是72,若输入360,则输出为 0。 思路:定义一个初始变量,并赋初始值为1。先求出输入的数的各个位的数字。并循环相乘。 代码 Code highlighting produced by Actip... 阅读全文