- 博客(7)
- 问答 (3)
- 收藏
- 关注
原创 Codeforces670E. Correct Bracket Sequence Editor
E. Correct Bracket Sequence Editor time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Recently Polycarp started to develop a text ed
2016-07-27 22:10:07 366
原创 Codeforces673C Bear and Colors(枚举区间)
C. Bear and Colors time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Bear Limak has n colored balls, arranged in one long row. Ball
2016-07-27 20:50:24 748
原创 poj2192 Zipper(dp)
Zipper Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 17961 Accepted: 6391 Description Given three strings, you are to determine w
2016-07-25 23:12:05 352
原创 CodeForces 688C-NP-Hard Problem(dfs)
C. NP-Hard Problem time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Recently, Pari and Arya did some research about NP-Hard proble
2016-07-24 23:10:25 494
原创 Codeforces681C Heap Operations
C. Heap Operations time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Petya has recently learned data structure named "Binary heap".
2016-07-23 20:54:44 513
原创 整数划分
题目: 1.将整数n划分成若干整数的划分数 2.将整数n划分成k个整数的划分数 3.将整数n划分成若干不同整数的划分数 4.将整数n划分成若干奇正整数的划分数 思路 1.将整数n划分成若干整数的划分数 dp[i][j]表示将整数i划分成不大于j的整数的划分数。 当i==j时,当划分中含有j就只有一种情况,否则就等价于将i划分成不大于j-1的划分数dp[i][j-1],所以d
2016-07-22 20:32:20 320
原创 数组分割
有n件物品,第i件物品重wi,现在将n件物品分成2堆,要求2堆的物品数量不超过1,并且使得2堆物品的重量相差最小,最后输出两对物品的重量。 这题和编程之美的2.18数组分割差不多。从n件物品中选n/2间放到一堆,使得另一堆和它物品数量差不超过1而且重量相差最小,这里是一定要选n/2件组成一堆。 原来认为是: for(i =1.....n) for(j=n/2
2016-07-19 21:01:43 364
空空如也
请问如何用AsyncClient写一个能访问并登录网站的程序?
2016-03-12
MySOL的问题Access denide for user
2015-10-10
用国际化API将图书管理系统转化成两种语言
2015-10-09
TA创建的收藏夹 TA关注的收藏夹
TA关注的人