- 博客(16)
- 资源 (1)
- 收藏
- 关注
原创 codeforces。 goodbye 2017。 B. New Year and Buggy Bot
B. New Year and Buggy Bottime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputBob programmed a robot to navigate
2017-12-30 10:21:35 1000
原创 牛客练习赛9。 B 柯朵莉的值域连续端
时间限制:C/C++ 1秒,其他语言2秒空间限制:C/C++ 131072K,其他语言262144K64bit IO Format: %lld题目描述珂朵莉给你一个有根树,求有多少个子树满足其内部节点编号在值域上连续 一些数在值域上连续的意思即其在值域上构成一个连续的区间 输入描述:第一行有一个整数n,表示树的节点数。接下来n–1行
2017-12-30 08:50:46 282
原创 codeforces 128 B. String
链接:http://codeforces.com/contest/128/problem/BB. Stringtime limit per test 2 secondsmemory limit per test 256 megabytesinput standard inputoutput standard outpu
2017-12-27 09:36:01 469
原创 bzoj 1012: [JSOI2008]最大数maxnumber
1012: [JSOI2008]最大数maxnumberTime Limit: 3 Sec Memory Limit: 162 MBSubmit: 12032 Solved: 5221[Submit][Status][Discuss]Description 现在请求你维护一个数列,要求提供以下两种操作:1、 查询操作。语法:Q L 功能:查询当前数列中末尾L个数中
2017-12-23 21:03:35 170
原创 wannafly 练习8 D加边的无向图
时间限制:C/C++ 1秒,其他语言2秒空间限制:C/C++ 32768K,其他语言65536K64bit IO Format: %lld题目描述给你一个 n 个点,m 条边的无向图,求至少要在这个的基础上加多少条无向边使得任意两个点可达~ 输入描述:第一行两个正整数 n 和 m 。接下来的m行中,每行两个正整数 i 、 j ,表示点i与点
2017-12-15 20:41:24 861
原创 wannfly练习赛8 给个n,求1到n的所有数的约数个数的和
时间限制:C/C++ 1秒,其他语言2秒空间限制:C/C++ 32768K,其他语言65536K64bit IO Format: %lld题目描述给个n,求1到n的所有数的约数个数的和~输入描述:第一行一个正整数n输出描述:输出一个整数,表示答案示例1输入3输出5
2017-12-15 20:39:26 2284 5
原创 HUD 1300 Pearls (水 dp)
PearlsTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 2908 Accepted Submission(s): 1457Problem DescriptionIn Pearlania everyb
2017-12-10 21:05:11 298
原创 HDU 2059 龟兔赛跑 (区间dp)
龟兔赛跑Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 20636 Accepted Submission(s): 7588Problem Description据说在很久很久以前,可怜的兔子经历了人生
2017-12-10 20:37:55 244
原创 poj 3661 runnning 区间dp
RunningTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 7243 Accepted: 2724DescriptionThe cows are trying to become better athletes, so Bessie is running
2017-12-09 20:38:10 200
原创 poj1651 Multiplication Puzzle(区间dp)
Multiplication PuzzleTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 11343 Accepted: 7027DescriptionThe multiplication puzzle is played with a row of ca
2017-12-07 11:11:53 159
原创 poj 3280 Cheapest Palindrome
Cheapest PalindromeTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 11101 Accepted: 5295DescriptionKeeping track of all the cows can be a tricky task so
2017-12-07 10:08:32 232
原创 Codeforces Round #449 (Div. 2) B. Chtholly's request (思维
B. Chtholly's requesttime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard output— Thanks a lot for today.— I expe
2017-12-03 11:23:58 424
原创 Codeforces Round #449 (Div. 2). C. Nephren gives a riddle
C. Nephren gives a riddletime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputWhat are you doing at the end of
2017-12-03 11:20:39 458
原创 HOJ 2577 How to Type(dp)
How to TypeTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 7314 Accepted Submission(s): 3321Problem DescriptionPirates have f
2017-12-02 11:04:10 274
原创 HOJ 5199 Happy Matt Friends (暴力dp)
Happy Matt FriendsTime Limit: 6000/6000 MS (Java/Others) Memory Limit: 510000/510000 K (Java/Others)Total Submission(s): 4863 Accepted Submission(s): 1841Problem DescriptionMatt
2017-12-02 10:00:07 239
原创 ZOJ 3471 Most Powerful 状压dp
Most PowerfulTime Limit: 2 Seconds Memory Limit: 65536 KBRecently, researchers on Mars have discovered N powerful atoms. All of them are different. These atoms have some properties. When
2017-12-01 22:25:29 196
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人