辣鸡elijahqi

细节决定成败 心态决定一切

排序:
默认
按更新时间
按访问量

Wannafly挑战赛18

比赛地址:https://www.nowcoder.com/acm/contest/129#question BLOG:http://www.elijahqi.win/archives/3836 A.序列 发现0.5和-2是一对 共同出现偶数次即可抵消影响 1是凑数的 于是暴力dp dp[i...

2018-06-23 09:51:13

阅读数:69

评论数:0

codeforces 992 C Nastya and a Wardrobe

http://www.elijahqi.win/archives/3768 Nastya received a gift on New Year — a magic wardrobe. It is magic because in the end of each month the number...

2018-06-19 07:29:07

阅读数:289

评论数:0

bzoj 5305 [Haoi2018]苹果树

https://www.lydsy.com/JudgeOnline/problem.php?id=5305 http://www.elijahqi.win/archives/3680 考虑每条边对答案的贡献 设i节点的子树大小为sizeisizeisize_i那么对于答案的贡献就是n∗(n−...

2018-06-13 10:54:14

阅读数:82

评论数:0

bzoj 4872 [Shoi2017]分手是祝愿

http://www.elijahqi.win/archives/3646 Description Zeit und Raum trennen dich und mich. 时空将你我分开。B 君在玩一个游戏,这个游戏由 n 个灯和 n 个开关组成,给定这 n 个灯的初始状态,下标为 从...

2018-06-11 14:03:22

阅读数:38

评论数:0

hdu4089 Activation

http://www.elijahqi.win/archives/3630 Problem Description After 4 years’ waiting, the game “Chinese Paladin 5” finally comes out. Tomato is a craz...

2018-06-09 12:28:52

阅读数:42

评论数:0

poj3744 Scout YYF I

http://www.elijahqi.win/archives/3628 Description YYF is a couragous scout. Now he is on a dangerous mission which is to penetrate into the enemy’s...

2018-06-09 12:22:00

阅读数:27

评论数:0

bzoj2134 单选错位

http://www.elijahqi.win/archives/3624 题目描述 gx和lc去参加noip初赛,其中有一种题型叫单项选择题,顾名思义,只有一个选项是正确答案。试卷上共有n道单选题,第i道单选题有ai个选项,这ai个选项编号是1,2,3,…,ai,每个选项成为正确答案的概率都...

2018-06-09 06:50:40

阅读数:27

评论数:0

poj2151 Check the difficulty of problems

http://www.elijahqi.win/archives/3620 Description Organizing a programming contest is not an easy job. To avoid making the problems too difficult, ...

2018-06-08 21:17:18

阅读数:26

评论数:0

hdu4336 Card Collector

http://www.elijahqi.win/archives/3618 Problem Description In your childhood, do you crazy for collecting the beautiful cards in the snacks? They sa...

2018-06-08 18:09:40

阅读数:25

评论数:0

hdu4418 Time travel

http://www.elijahqi.win/archives/3616 Problem Description Agent K is one of the greatest agents in a secret organization called Men in Black. Once...

2018-06-08 16:47:22

阅读数:35

评论数:0

bzoj1076 [SCOI2008]奖励关

(http://www.elijahqi.win/2018/01/23/bzoj1076-scoi2008%E5%A5%96%E5%8A%B1%E5%85%B3/%20%E2%80%8E) Description   你正在玩你最喜欢的电子游戏,并且刚刚进入一个奖励关。在这个奖励关里,系统将依...

2018-01-23 00:25:06

阅读数:35

评论数:0

bzoj3470 Freda’s Walk

http://www.elijahqi.win/2018/01/11/bzoj3470-fredas-walk/ Description 雨后的Poetic Island空气格外清新,于是Freda和Rainbow出来散步。 Poetic Island的交通可以看作一张n个点、m 边的有向无环...

2018-01-11 00:21:17

阅读数:42

评论数:0

bzoj4318 OSU!

http://www.elijahqi.win/2018/01/10/bzoj4318-osu/ ‎ Description osu 是一款群众喜闻乐见的休闲软件。 我们可以把osu的规则简化与改编成以下的样子: 一共有n次操作,每次操作只有成功与失败之分,成功对应1,失败对应0,n次操作...

2018-01-10 20:34:39

阅读数:53

评论数:0

bzoj2201 彩色圆环

http://www.elijahqi.win/2018/01/09/bzoj2201-%e5%bd%a9%e8%89%b2%e5%9c%86%e7%8e%af/ Description Input 仅有一行,该行给出依次两个正整数N, M,分别表示宝石的个数和宝石在变化时可能变成的颜色种类...

2018-01-09 16:47:39

阅读数:302

评论数:0

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