摘要:
1164 - Horrible Queries PDF (English) Statistics Forum Time Limit: 2 second(s) Memory Limit: 64 MB World is getting more evil and it's getting tougher 阅读全文
摘要:
1161 - Extreme GCD PDF (English) Statistics Forum Time Limit: 1 second(s) Memory Limit: 32 MB All of you know that GCD means the greatest common divis 阅读全文
摘要:
1142 - Summing up Powers (II) PDF (English) Statistics Forum Time Limit: 2 second(s) Memory Limit: 32 MB Shanto is learning how to power up numbers an 阅读全文
摘要:
背景 又是一道水题 描述 在某个神秘的星球上有一种货币,它有一种奇怪的兑换规则 你有且仅有一枚面值为n的金币,你可以去银行进行兑换,也可以不兑换 如果去银行兑换,兑换的规则是这样的:用面值为a的金币去兑换可以换到a/2,a/3,a/4这三枚硬币(如果 是小数则截尾取整),你可以兑换多次 读入n 输出 阅读全文
摘要:
描述 上届的高三在这个暑假终于要到各个城市奔向他们的大学生活了。奇怪的是学校这次异常阔气,说要用三台车子去载他们上学。上届高三的师兄们异常兴奋……可惜的是临行的时候,学校终于露出它“狰狞”的面孔: 一、油费要学生自己给 二、去第k 个城市的条件是,前k-1 个城市都要被去过 三、同时只能有一部车子在 阅读全文
摘要:
P1629八 Accepted Accepted 标签:[显示标签] 标签:[显示标签] 描述 八是个很有趣的数字啊。八=发,八八=爸爸,88=拜拜。当然最有趣的还是8用二进制表示是1000。怎么样,有趣吧。当然题目和这些都没有关系。 某个人很无聊,他想找出[a,b]中能被8整除却不能被其他一些数整 阅读全文
摘要:
描述 Hanks 博士是 BT (Bio-Tech,生物技术) 领域的知名专家,他的儿子名叫 Hankson。现 在,刚刚放学回家的 Hankson 正在思考一个有趣的问题。 今天在课堂上,老师讲解了如何求两个正整数 c1和 c2 的最大公约数和最小公倍数。现 在 Hankson 认为自己已经熟练地 阅读全文
摘要:
Problem 2233 ~APTX4869 Accept: 55 Submit: 176Time Limit: 1000 mSec Memory Limit : 32768 KB Accept: 55 Submit: 176Time Limit: 1000 mSec Memory Limit : 阅读全文
摘要:
1269 - Consecutive Sum PDF (English) Statistics Forum Time Limit: 3 second(s) Memory Limit: 64 MB Little Jimmy is learning how to add integers. As in 阅读全文
摘要:
1091. Tmutarakan Exams Time limit: 1.0 secondMemory limit: 64 MB University of New Tmutarakan trains the first-class specialists in mental arithmetic. 阅读全文
摘要:
1114. Boxes Time limit: 0.6 secondMemory limit: 64 MB N boxes are lined up in a sequence (1 ≤ N ≤ 20). You have A red balls and B blue balls (0 ≤ A ≤ 阅读全文
摘要:
1624 取余最长路 时间限制:1 秒 空间限制:131072 KB 分值: 40 1624 取余最长路 时间限制:1 秒 空间限制:131072 KB 分值: 40 1624 取余最长路 时间限制:1 秒 空间限制:131072 KB 分值: 40 佳佳有一个n*m的带权矩阵,她想从(1,1)出发 阅读全文
摘要:
1686 第K大区间 时间限制:1 秒 空间限制:131072 KB 1686 第K大区间 时间限制:1 秒 空间限制:131072 KB 1686 第K大区间 时间限制:1 秒 空间限制:131072 KB 定义一个区间的值为其众数出现的次数。现给出n个数,求将所有区间的值排序后,第K大的值为多少 阅读全文
摘要:
2818: Gcd Description 给定整数N,求1<=x,y<=N且Gcd(x,y)为素数的数对(x,y)有多少对. 那么我们求 给定整数N,求1<=x,y<=N且Gcd(x,y)为素数的数对(x,y)有多少对. 那么我们求 Input 一个整数N 一个整数N Output 如题 如题 S 阅读全文
摘要:
Give a set S, |S| = n, then how many ordered set group (S1, S2, ..., Sk) satisfies S1 ∩ S2 ∩ ... ∩ Sk = ∅. (Si is a subset of S, (1 <= i <= k)) Input 阅读全文
摘要:
Sky Code Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 2085 Accepted: 665 Description Stancu likes space travels but he is a poor softwar 阅读全文
摘要:
Happy 2006 Time Limit: 3000MS Memory Limit: 65536K Total Submissions: 10856 Accepted: 3776 Description Two positive integers are said to be relatively 阅读全文
摘要:
Rectangles Time Limit: 5000/4000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1497 Accepted Submission(s): 773 Probl 阅读全文
摘要:
Sum Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2974 Accepted Submission(s): 843 Problem Desc 阅读全文
摘要:
Visible Trees Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2462 Accepted Submission(s): 1032 P 阅读全文