自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(17)
  • 收藏
  • 关注

原创 hdu6676 度度熊与运算式1 2019百度之星初赛第二场

题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=6676 Source 2019 年百度之星·程序设计大赛 - 初赛二 官方题解 照着题解写的代码 #include<iostream> #include<cstdio> #include<cstring> #include<algorithm...

2019-08-20 11:14:38 317

原创 hdu6677 度度熊与组题 2019百度之星初赛第二场

题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=6677 度度熊与组题 Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 86Accepted Submission(s): 34 ...

2019-08-20 10:34:43 406

原创 codeforces486D. Valid Sets

题目链接:http://codeforces.com/contest/486/problem/D D. Valid Sets time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output As you know, an un...

2019-08-01 10:59:41 190

原创 codeforces294E. Shaass the Great

题目链接:http://codeforces.com/problemset/problem/294/E E. Shaass the Great time limit per test 3.5 seconds memory limit per test 256 megabytes input standard input output standard output The gr...

2019-08-01 08:55:20 156

原创 codeforces 161D Distance in Tree

题目链接:http://codeforces.com/problemset/problem/161/D D. Distance in Tree time limit per test 3 seconds memory limit per test 512 megabytes input standard input output standard output Atreei...

2019-07-29 17:24:03 156

原创 codeforces 9D How many trees?

题目连接:http://codeforces.com/problemset/problem/9/D D. How many trees? time limit per test 1 second memory limit per test 64 megabytes input standard input output standard output In one very o...

2019-07-29 14:19:44 226

原创 codeforces461 B. Appleman and Tree

题目连接:http://codeforces.com/contest/461/problem/B B. Appleman and Tree time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Appleman h...

2019-07-24 16:07:58 155

原创 hdu5247 找连续数 2015百度之星初赛(1)

题目连接:http://acm.hdu.edu.cn/showproblem.php?pid=5247 找连续数 Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2122Accepted Submission(s): 777 ...

2019-07-24 08:10:38 144

原创 洛谷 P1040 加分二叉树

题目链接:https://www.luogu.org/problemnew/show/P1040 题目描述 设一个n个节点的二叉树tree的中序遍历为(1,2,3,…,n),其中数字1,2,3,…,n为节点编号。每个节点都有一个分数(均为正整数),记第i个节点的分数为di,tree及它的每个子树都有一个加分,任一棵子树subtree(也包含tree本身)的加分计算方法如下: subtree的...

2019-07-06 23:15:01 105

原创 POJ2229 Sumsets 递推or完全背包

题目连接:http://poj.org/problem?id=2229 Sumsets Time Limit:2000MS Memory Limit:200000K Total Submissions:26673 Accepted:10093 Description Farmer John commanded his cows to searc...

2019-07-06 20:43:10 149

转载 poj 2689 Prime Distance 素数

题目链接:http://poj.org/problem?id=2689 Prime Distance Time Limit:1000MS Memory Limit:65536K Total Submissions:27316 Accepted:7051 Description The branch of mathematics called n...

2019-07-01 17:13:25 162

原创 ZOJ1562 More Divisors

http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=1562 More Divisors Time Limit:2 Seconds Memory Limit:65536 KB Everybody knows that we use decimal notation, i.e. the base of our no...

2019-06-17 15:32:29 128

原创 codeforces 27E Number With The Given Amount Of Divisors

http://codeforces.com/problemset/problem/27/E E. Number With The Given Amount Of Divisors time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standar...

2019-06-17 15:04:24 137

原创 HDU6536 Hello XTCPC(2019JSCPC E题)

Hello XTCPC Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 981Accepted Submission(s): 271 Problem Description You have a string of lowe...

2019-06-16 09:05:58 552 2

原创 HDU6534Chika and Friendly Pairs(2019JSCPC C题)

Chika and Friendly Pairs Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 524288/524288 K (Java/Others) Total Submission(s): 874Accepted Submission(s): 308 Problem Description Chika give...

2019-06-15 22:57:57 293

原创 HDU6533 Build Tree(2019JSCPC B题)

Build Tree Time Limit: 3000/1500 MS (Java/Others)Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 1292Accepted Submission(s): 218 Problem Description You need to construct a f...

2019-06-15 22:54:23 572

原创 洛谷P2024 [NOI2001]食物链

题目描述 动物王国中有三类动物 A,B,C,这三类动物的食物链构成了有趣的环形。A 吃 B,B 吃 C,C 吃 A。 现有 N 个动物,以 1 - N 编号。每个动物都是 A,B,C 中的一种,但是我们并不知道 它到底是哪一种。 有人用两种说法对这 N 个动物所构成的食物链关系进行描述: 第一种说法是“1 X Y”,表示 X 和 Y 是同类。 第二种说法是“2 X Y”,表示 X 吃 Y 。 此人...

2019-06-14 08:30:05 144

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除