随笔分类 - c++基础知识
摘要:题目:阶乘位数9的阶乘等于:362880 它的二进制表示为:1011000100110000000 这个数字共有19位。请你计算,9999 的阶乘的二进制表示一共有多少位? 注意:需要提交的是一个整数,不要填写任何无关内容(比如说明解释等)思路:把每一个数都用2的x的...
阅读全文
摘要:A permutation p is an ordered group of numbers p1, p2, ..., pn, consisting of ndistinct positive integers, each is no more than ...
阅读全文
摘要:Zane the wizard is going to perform a magic show shuffling the cups.There are n cups, numbered from 1 to n, placed along the x-axis on...
阅读全文

浙公网安备 33010602011771号