- 博客(21)
- 收藏
- 关注
转载 hdu 1075 What Are You Talking About(字典树)
http://acm.hdu.edu.cn/showproblem.php?pid=1075 What Are You Talking AboutTime Limit: 10000/5000 MS (Java/Others) Memory Limit: 102400/204800 K (Java/Others)Total Submission(s): 11207 Acc
2013-11-20 20:29:55 886
原创 hdu 2546 饭卡(01背包)
http://acm.hdu.edu.cn/showproblem.php?pid=2546 饭卡hdu2546
2013-11-19 23:18:04 822
原创 codeforce B. Road Construction
http://codeforces.com/problemset/problem/330/B B. Road Constructiontime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard output
2013-11-18 19:58:41 935
原创 poj 2236 Wireless Network
http://poj.org/problem?id=2236 Wireless NetworkTotal Submissions: 14406 Accepted: 6085DescriptionDescriptionAn earthquake takes place in Southeast Asia. The ACM (Asia Cooperated Medical team) have set up a wireless network with the lap compu
2013-11-18 19:41:16 781
原创 zoj 3710 Friends
http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=5013 Time Limit: 2 Seconds Memory Limit: 65536 KBAlice lives in the country where people like to make friends. The friendship is
2013-11-18 10:21:05 1051
原创 hdu 1166 敌兵布阵 (简单线段树)
http://acm.hdu.edu.cn/showproblem.php?pid=1166 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 32982 Accepted Submission(s): 14138
2013-11-16 16:29:00 851
原创 hdu 2504 又见GCD
http://acm.hdu.edu.cn/showproblem.php?pid=2504 Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 8249 Accepted Submission(s): 3414
2013-11-16 12:24:24 961
原创 hdu 4217 Data Structure?
http://acm.hdu.edu.cn/showproblem.php?pid=4217 Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 2251 Accepted Submission(s): 711
2013-11-16 12:12:09 784
原创 hdu 1754 I Hate It
Problem - 1754 http://acm.hdu.edu.cn/showproblem.php?pid=1754 Time Limit: 9000/3000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 29644 Accepted Submissi
2013-11-14 11:42:32 742
原创 hdu 1201 18岁生日
Problem - 1201 http://acm.hdu.edu.cn/showproblem.php?pid=1201Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 15476 Accepted Submission(
2013-11-14 10:30:21 722
转载 hdu 2181 哈密顿绕行世界问题
Problem - 2181 http://acm.hdu.edu.cn/showproblem.php?pid=2181 一个规则的实心十二面体,它的 20个顶点标出世界著名的20个城市,你从一个城市出发经过每个城市刚好一次后回到出发的城市。 Input前20行的第i行有3个数,表示与第i个城市相邻的3个城市.第20行以后每行有1个数m,m=1.m=0退出
2013-11-13 19:59:47 728
转载 Problem - 363C - Codeforces --C. Fixing Typos
Problem - 363C - Codeforces http://codeforces.com/problemset/problem/363/C C. Fixing Typostime limit per test1 secondmemory limit per test256 megabytesinputstandard inputou
2013-11-13 17:53:46 1317
原创 欧拉函数
GCD AgainTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2260 Accepted Submission(s): 910Problem Description Do you have spen
2013-11-11 19:37:36 1024
转载 codeforces B. Permutation
codeforces B. Permutation 解题报告题目链接:http://codeforces.com/problemset/problem/359/B题目意思:给定n和k的值,需要构造一条长度为2n(每个元素取值范围只能是[1,2n])且元素各不相同的序列,这条序列符合等式。 首先非常感谢乌冬兄和syy的帮助!!尤其是乌冬兄。 刚开始做的时候完全没有思
2013-11-09 17:34:16 760
原创 hdu 3549 Flow Problem (ek算法模板)
Problem DescriptionNetwork flow is a well-known difficult problem for ACMers. Given a graph, your task is to find out the maximum flow for the weighted directed graph. InputThe first line of input c
2013-11-07 18:22:13 631
原创 hdu 2680 Choose the best route
Problem DescriptionOne day , Kiki wants to visit one of her friends. As she is liable to carsickness , she wants to arrive at her friend’s home as soon as possible . Now give you a map of the city’s
2013-11-06 20:25:41 645
原创 poj 2253 Frogger
DescriptionFreddy Frog is sitting on a stone in the middle of a lake. Suddenly he notices Fiona Frog who is sitting on another stone. He plans to visit her, but since the water is dirty and full of
2013-11-04 20:35:38 924
原创 hdu 1058 Humble Numbers
Humble Numbers Problem DescriptionA number whose only prime factors are 2,3,5 or 7 is called a humble number. The sequence 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 14, 15, 16, 18, 20, 21, 24, 25, 27, ...
2013-11-02 17:37:28 545
原创 hdu 1159 Common Subsequence (LCS)
Common SubsequenceProblem DescriptionA subsequence of a given sequence is the given sequence with some elements (possible none) left out. Given a sequence X = <x1, x2, ..., xm> another sequ...
2013-11-02 16:59:43 675
转载 求n!的最高位
题目描述输入一个正整数n。输出n!的最高位上的数字。输入输入一个正整数n(n不超过1000)。输出输出n!的最高位上的数字。样例输入1000样例输出4 log n!=log n+log (n-1)+...+log 1; #include#includeint main(){ int n,i
2013-11-01 15:10:58 3201 1
原创 hdu 1116 Play on Words (欧拉路径)
Problem DescriptionSome of the secret doors contain a very interesting word puzzle. The team of archaeologists has to solve it to open that doors. Because there is no other way to open the doors, th
2013-11-01 08:24:47 660
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人