随笔分类 - ACM
摘要:原址地址:http://ibupu.link/?id=31 Problem Description P is a permutation of the integers from 1 to N(index starting from 1).Here is the code of Bubble Sor
阅读全文
摘要:Description The most important part of a GSM network is so called Base Transceiver Station (BTS). These transceivers form the areas called cells (this
阅读全文
摘要:Description N的阶乘写作N!表示小于等于N的所有正整数的乘积。阶乘会很快的变大,如13!就必须用32位整数类型来存储,70!即使用浮点数也存不下了。你的任务是找到阶乘最后面的非零位。举个例子,5!=1*2*3*4*5=120所以5!的最后面的非零位是2,7!=1*2*3*4*5*6*7=
阅读全文

浙公网安备 33010602011771号