Arc of DreamTime Limit: 2000/2000 MS (Java/Others)Memory Limit: 65535/65535 K (Java/Others)Total Submission(s): 2010Accepted Submission(s): 643Problem...
分类:
其他好文 时间:
2014-09-23 21:28:55
阅读次数:
222
Problem Description
《Dream of the Red Chamber》(also 《The Story of the Stone》) is one of the Four Great Classical Novels of Chinese literature, and it is commonly regarded as the best one. This novel...
分类:
其他好文 时间:
2014-09-22 17:39:12
阅读次数:
209
Problem Description
《Dream of the Red Chamber》(also 《The Story of the Stone》) is one of the Four Great Classical Novels of Chinese literature, and it is commonly regarded as the best one. This novel ...
分类:
其他好文 时间:
2014-09-20 21:15:59
阅读次数:
267
写了1h的DFS,简直被自己的代码吓哭了。。不过起码还是思路清晰,QUQ~
说一下题意吧: 题意是求一条最长路,最多能经过一次转弯,并且其角度只能为90度。
拿第一个样例来说:(0,1)->(1,2)->【转弯】(2,1) ,所以答案是3.
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5024
代码如下:
#include
#in...
分类:
其他好文 时间:
2014-09-20 20:02:59
阅读次数:
272
Problem Description
《Dream of the Red Chamber》(also 《The Story of the Stone》) is one of the Four Great Classical Novels of Chinese literature, and it is commonly regarded as the best one. This novel ...
分类:
其他好文 时间:
2014-09-20 18:59:59
阅读次数:
194
题意:给你两个线形方程求他们前n项相乘的和解题思路:第一次知道了怎么去构造需要由自己本身元素组成的中间矩阵的方法详细题解看这里http://blog.csdn.net/chenguolinblog/article/details/10341625不过这题跑到了 1300 + , 正确解法应该是数论什...
分类:
其他好文 时间:
2014-09-18 18:48:44
阅读次数:
250
Hello,I'm Jack Ma,founder and chairman of Alibaba Group.15 years ago,18 founders in my apartment had a dream,that someday,we can build up a company th...
分类:
其他好文 时间:
2014-09-12 08:50:43
阅读次数:
159
ACdream原创群赛(18)のAK's dream
题目链接
A:水题,直接模拟题意去搞即可
D:贪心+组合数学,把剑和英雄都从小到大排序,每次计算该英雄能用前几把剑cnt,cnt减去之前有多少人就是该英雄能选的,种数乘上cnt - 之前有多少人
F:DP,dp[i][j][2]表示第i天,用了j次修改,当前状态是A还是B,然后去转移即可
G:水题,直接用字符串处理...
分类:
其他好文 时间:
2014-09-07 11:04:45
阅读次数:
352
只做了4题水题ADGIA题需要注意的就是“[...]”的输出了,何时输出,何时不输出。 1 #include 2 int main() 3 { 4 int n, cur, d; 5 int cnt = 1; 6 while(scanf("%d%d%d",&n,&cur,&d...
分类:
其他好文 时间:
2014-09-07 10:54:25
阅读次数:
196
2008年9月,世界上第一款搭载安卓操作系统的手机 htc dream g1 诞生,被唤作宏达电的触摸梦想2009年2月18日,魅族M8上市,开创了中国智能手机的先河。时隔一年,10年的时候诺基亚还是手机界的王者,类似5800系列的智能机随处可见。同年6月8日,iPhone 4 上市。同年10月,W...
分类:
移动开发 时间:
2014-08-26 17:17:16
阅读次数:
230