题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2063
过山车
Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 9322 Accepted Submission(...
分类:
其他好文 时间:
2014-05-10 10:20:15
阅读次数:
289
点击打开链接
The Windy's
Time Limit: 5000MS
Memory Limit: 65536K
Total Submissions: 3788
Accepted: 1630
Description
The Windy's is a world famous toy factory that owns...
链接:http://poj.org/problem?id=1789 或 http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=1158
Description
Advanced Cargo Movement, Ltd. uses trucks of different types. Some trucks are use...
分类:
其他好文 时间:
2014-05-10 09:39:59
阅读次数:
440
链接:http://poj.org/problem?id=2421 或 http://acm.hdu.edu.cn/showproblem.php?pid=1102
Problem Description
There are N villages, which are numbered from 1 to N, and you should build some roads ...
分类:
其他好文 时间:
2014-05-10 09:34:09
阅读次数:
389
Uyuw's Concert
Time Limit: 6000MS
Memory Limit: 65536K
Total Submissions: 6587
Accepted: 2611
Description
Prince Remmarguts solved the CHESS puzzle successfully. As an ...
分类:
其他好文 时间:
2014-05-10 09:33:40
阅读次数:
305
题意:求2000.1.1(周六)过n天后,是哪年哪月哪日星期几
思路:看到过好多次了这种题,细心点模拟就是了
#include
#include
#include
#include
using namespace std;
char w[7][10]={"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday" ,...
分类:
其他好文 时间:
2014-05-10 09:28:33
阅读次数:
266
动规基础:最长递增子序列的三种解法。附详解和代码。第一种:转化成LCS问题求解O(n*n)。第二种:设d[i]为以第i个元素结尾的最长递增子序列的长度O(n*n)。第三种:二分查找优化O(nlogn)。...
分类:
其他好文 时间:
2014-05-10 08:36:18
阅读次数:
462
Crossword AnswersTime Limit:1000MSMemory
Limit:30000KTotal Submissions:869Accepted:405DescriptionA crossword puzzle
consists of a rectangular grid of ...
分类:
其他好文 时间:
2014-05-07 10:02:44
阅读次数:
359
题目链接题意 : 求小于等于n中与n互质的数的个数。思路 :
看数学的时候有一部分是将欧拉函数的,虽然我没怎么看懂,但是模板我记得了,所以直接套了一下模板。这里是欧拉函数的简介。 1 #include 2 #include
3 #include 4 #include 5 #include ...
分类:
其他好文 时间:
2014-05-06 11:58:13
阅读次数:
285
Housewife WindTime Limit:4000MSMemory
Limit:65536KTotal Submissions:5471Accepted:1371DescriptionAfter their royal
wedding, Jiajia and Wind hid away in...
分类:
其他好文 时间:
2014-05-06 11:04:00
阅读次数:
402