Tower Defense
Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 132768/132768 K (Java/Others)
Total Submission(s): 474 Accepted Submission(s): 126
Problem Description
DRD loves...
分类:
其他好文 时间:
2014-09-17 18:43:22
阅读次数:
367
DZY has a sequence a, consisting of
n integers.
We'll call a sequence ai,?ai?+?1,?...,?aj
(1?≤?i?≤?j?≤?n) a subsegment of the sequence
a. The value (j?-?i?+?1) denotes the length of the subsegmen...
分类:
其他好文 时间:
2014-09-16 15:57:40
阅读次数:
248
Description
Alexander Charles McMillan loves to gamble, and during his last trip to the casino he ran across a new game. It is played on a linear sequence of squares as shown below.
A chip is in...
分类:
其他好文 时间:
2014-09-06 12:31:33
阅读次数:
275
ZCC Loves CodefiresTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 790Accepted Submission(s): 420P...
分类:
其他好文 时间:
2014-09-05 18:08:01
阅读次数:
141
GG,,,g艹#include #include #include #include #include #include #include using namespace std;vectorG[21][7];//G[i][j] 表示n=i k=j的情况下 二进制的状态int n, k, l;int...
分类:
其他好文 时间:
2014-08-30 18:56:59
阅读次数:
182
题目链接Devendra loves the XOR operation very much which is denoted by∧sign in most of the programming languages. He has a listAofNnumbers and he wants to...
分类:
其他好文 时间:
2014-08-27 21:53:08
阅读次数:
316
??
题意 有n个题目 完成第i个题目需要的时间为e[i] 第i个题目的系数为k[i] 你可以按任意顺序完成题目 比赛开始到完成第i个题目消耗的总时间为t[i] 那么完成第i个题目要扣掉k[i]*t[i]分 求完成所有题目至少扣多少分
考虑任意相邻两题i,j 改变i,j时 i,j之前和之后所有的题目对结果都没有影响 只是i,j两题的扣分和由原来的(t+e[i])*...
分类:
其他好文 时间:
2014-08-27 10:58:07
阅读次数:
264
Problem Description
Dragon is watching NBA. He loves James and Miami Heat.
Here's an introduction of basketball game:http://en.wikipedia.org/wiki/Basketball. However the game in Dragon's version...
分类:
其他好文 时间:
2014-08-26 15:38:56
阅读次数:
183
Little Hasan loves to play number games with his friends.One day they were playing a game where one of them will speak out a positive numberand the others have to tell the sum of its factors. The firs...
分类:
其他好文 时间:
2014-08-25 11:57:04
阅读次数:
235
??ZCC Loves CodefiresTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 223Accepted Submission(s): 12...
分类:
其他好文 时间:
2014-08-23 13:53:30
阅读次数:
207