摘要:
CDYou have a long drive by car ahead. You have a tape recorder, but unfortunately your best music is on CDs. You need to have it on tapes so the probl... 阅读全文
摘要:
http://acm.hdu.edu.cn/showproblem.php?pid=2546饭卡Time Limit: 5000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 17... 阅读全文
摘要:
http://poj.org/problem?id=3624Charm BraceletTime Limit:1000MSMemory Limit:65536KTotal Submissions:29444Accepted:13198DescriptionBessie has gone to the... 阅读全文
摘要:
搬砖Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65535/65535 K (Java/Others)Total Submission(s): 4646Accepted Submission(s): 1060Problem Descript... 阅读全文
摘要:
#include#include#include#include#include#include#include#includeusing namespace std;#define N 1005int main(){ int n; long long f[N]={0,1,2,5}; ... 阅读全文
摘要:
逆袭指数Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 626Accepted Submission(s): 94Problem Descripti... 阅读全文
摘要:
油菜花王国Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1609Accepted Submission(s): 411Problem Descri... 阅读全文
摘要:
http://bestcoder.hdu.edu.cn/contests/contest_showproblem.php?cid=652&pid=1003题目大意:给你一个序列,你随便找一个区间,让这个区间的所有数都变成f(x)=(1890*x+143)%10007然后在求和 问最大的和是多少分析... 阅读全文
摘要:
http://codeforces.com/problemset/problem/544/C完全背包dp[i][j]表示第i行有j个bug#include#include#define N 550int dp[N][N], a[N];int main(){ int n, m, b, MOD; ... 阅读全文
摘要:
A. Set of Strings链接:http://codeforces.com/problemset/problem/544/A题目大意:给你一个K和一串字符,然后吧这个字符分成k份,并且每一份的开头字母都不一样#include#include#include#include#include#i... 阅读全文