java水过…… 代码如下: import java.math.*; import java.util.*; public class Main { public static void main(String arg[]){ BigInteger n,ans,sum; Scanner cin = new Scanner(System.in); int k,t=cin.nextInt(); while(t-->0){ n=cin.nextBigInteger(); k=cin.nextInt()…
Little Boxes Little boxes on the hillside. Little boxes made of ticky-tacky. Little boxes. Little boxes. Little boxes all the same. There are a green boxes, and b pink boxes. And c blue boxes and d yellow boxes. And they are all made out of ti…
X-Boxes Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 202 Accepted Submission(s): 71 Problem Description Crazygirl is a crazy fan of XBOX games. Today, she’s here middle in a competition, i…
传送门:http://acm.hdu.edu.cn/showproblem.php?pid=1018 Big Number Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 42715 Accepted Submission(s): 20844 Problem Description In many applications very…
题目: http://acm.hdu.edu.cn/showproblem.php?pid=4608 http://acm.hust.edu.cn/vjudge/contest/view.action?cid=27048#problem/G 2013暑期多校联合训练--80+高校,300+队伍,10000元奖金,敬请期待~ I-number Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/O…