Tony5t4rk的博客

Welcome to http://henuly.top

HDU 3068 最长回文(Manacher)

文章地址:http://henuly.top/?p=964 Description: 给出一个只由小写英文字符a,b,c…y,z组成的字符串S,求S中最长回文串的长度. 回文就是正反读都是一样的字符串,如aba, abba等 Input: 输入有多组case,不超过120组,每组输入为一行小写英文...

2018-11-29 19:50:39

阅读数:6

评论数:0

Codeforces Round #516 (Div. 2, by Moscow Team Olympiad)

文章地址:http://henuly.top/?p=923 A. Make a triangle! Description: Masha has three sticks of length aaa, bbb and ccc centimeters respectively. In one min...

2018-10-17 23:22:25

阅读数:128

评论数:0

Codeforces Round #515 (Div. 3)

文章地址:http://henuly.top/?p=917 A. Vova and Train Description: Vova plans to go to the conference by train. Initially, the train is at the point 111 an...

2018-10-13 00:43:18

阅读数:202

评论数:2

Codeforces Round #514 (Div. 2)

文章地址:http://henuly.top/?p=894 A. Cashier Description: Vasya has recently got a job as a cashier at a local store. His day at work is LLL minutes long...

2018-10-06 14:25:03

阅读数:180

评论数:0

计蒜客 ACM-ICPC 2018 徐州赛区网络预赛 I. Characters with Hash

文章地址:http://henuly.top/?p=864 Description: Mur loves hash algorithm, and he sometimes encrypt another one’s name, and call him with that encrypted ...

2018-09-10 21:12:02

阅读数:291

评论数:0

HDU 6396 Swordsman(超级读写挂+优先队列)

文章地址:http://henuly.top/?p=760 Description: Lawson is a magic swordsman with k kinds of magic attributes v1,v2,v3,…,vk.v1,v2,v3,…,vk.v_1,v_2,v_3,…...

2018-08-16 09:21:31

阅读数:528

评论数:0

牛客网暑期ACM多校训练营(第七场)A Minimum Cost Perfect Matching

文章地址:http://henuly.top/?p=709 Description: You have a complete bipartite graph where each part contains exactly n nodes, numbered from 0 to n - 1...

2018-08-10 14:33:23

阅读数:500

评论数:0

牛客网暑期ACM多校训练营(第四场) G Maximum Mode

题目: The mode of an integer sequence is the value that appears most often. Chiaki has n integers a1,a2,...,ana1,a2,...,ana_1,a_2,...,a_n. She woud li...

2018-08-06 11:22:50

阅读数:494

评论数:0

HDU 4121 Xiangqi(模拟)

文章地址:http://henuly.top/?p=666 题目: Xiangqi is one of the most popular two-player board games in China. The game represents a battle between two ar...

2018-08-05 20:47:40

阅读数:501

评论数:0

Codeforces Round #501 (Div. 3)

文章地址:http://henuly.top/?p=659 A. Points in Segments 题目: You are given a set of nnn segments on the axis OxOxOx, each segment has integer endpo...

2018-08-02 11:38:06

阅读数:517

评论数:0

2018HPU暑期集训第二次积分赛_场外同步赛

文章地址:http://henuly.top/?p=654 又是斐波那契数列??(HPUOJ 1471) 题目: 大家都知道斐波那契数列吧?斐波那契数列的定义是这样的: f0=0f0=0f_0 = 0; f1=1f1=1f_1 = 1; fi=fi−1+fi−2fi=fi−1+fi−...

2018-07-30 14:21:57

阅读数:514

评论数:0

牛客网暑期ACM多校训练营(第三场) H Diff-prime Pairs

题目链接:http://henuly.top/?p=643 题目: Eddy has solved lots of problem involving calculating the number of coprime pairs within some range. This problem...

2018-07-26 22:41:20

阅读数:496

评论数:0

Codeforces Round #494 (Div. 3)

A. Polycarp’s Pockets 题目: Polycarp has nnn coins, the value of the iii-th coin is aiaia_i. Polycarp wants to distribute all the coins between his...

2018-07-18 20:33:30

阅读数:506

评论数:0

HDU 5127 Dogs' Candies(模拟)

题目: Far far away, there live a lot of dogs in the forest. Unlike other dogs, those dogs love candies much more than bones. Every candy has two attr...

2018-07-11 17:36:32

阅读数:524

评论数:0

Codeforces Round #480 (Div. 2)

A. Links and Pearls 题目: A necklace can be described as a string of links (‘-‘) and pearls (‘o’), with the last link or pearl connected to the first...

2018-05-17 23:56:25

阅读数:516

评论数:0

Codeforces Round #481 (Div. 3)

A. Remove Duplicates 题目: Petya has an array a consisting of n integers. He wants to remove duplicate (equal) elements. Petya wants to leave only t...

2018-05-16 21:15:31

阅读数:571

评论数:0

Codeforces Round #479 (Div. 3)

A. Wrong Subtraction 题目: Little girl Tanya is learning how to decrease a number by one, but she does it wrong with a number consisting of two or mo...

2018-05-09 00:15:50

阅读数:512

评论数:0

ZOJ 4033 CONTINUE...?

题目: DreamGrid has n classmates numbered from 1 to n. Some of them are boys and the others are girls. Each classmate has some gems, and more specific...

2018-05-07 23:20:54

阅读数:507

评论数:0

Codeforces 831A Unimodal Array

题目: Array of integers is unimodal, if: it is strictly increasing in the beginning; after that it is constant; after that it is strictly de...

2018-05-07 14:29:37

阅读数:486

评论数:0

hihoCoder #1631 : Cats and Fish

题目: There are many homeless cats in PKU campus. They are all happy because the students in the cat club of PKU take good care of them. Li lei is one...

2018-05-06 22:13:11

阅读数:498

评论数:2

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