海绵的博客

竞赛虐我千百遍,我待竞赛如初恋。 Never Give Up!!!

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

String HDU - 4821

Given a string S and two integers L and M, we consider a substring of S as “recoverable” if and only if   (i) It is of length M*L;   (ii) It can be c...

2018-10-29 15:28:57

阅读数:13

评论数:0

Skr(马拉车+哈希)

A number is skr, if and only if it's unchanged after being reversed. For example, "12321", "11" and "1&a...

2018-09-22 21:17:42

阅读数:26

评论数:0

#1829 : Tomb Raider(哈希)

描述 Lara Croft, the fiercely independent daughter of a missing adventurer, must push herself beyond her limits when she discovers the island where he...

2018-09-22 21:15:50

阅读数:13

评论数:0

String and Times

Now you have a string consists of uppercase letters, two integers AAA and BBB. We call a substring wonderful substring when the times it appears in t...

2018-09-16 21:01:42

阅读数:55

评论数:0

Boring String Problem

Problem Description In this problem, you are given a string s and q queries. For each query, you should answer that when all distinct substrings of ...

2018-09-08 21:21:23

阅读数:29

评论数:0

B. Segment Occurrences

You are given two strings s and t , both consisting only of lowercase Latin letters. The substring s[l..r] is the string which is obtained by taki...

2018-08-17 15:11:31

阅读数:24

评论数:0

Typing practice

链接:https://www.nowcoder.com/acm/contest/147/F 来源:牛客网   题目描述 Niuniu is practicing typing. Given n words, Niuniu want to input one of these. He wants...

2018-08-17 14:11:58

阅读数:113

评论数:0

Hills And Valleys

Problem Description Tauren has an integer sequence A of length n (1-based). He wants you to invert an interval [l,r] (1≤l≤r≤n) of A (i.e. replace Al...

2018-08-08 21:38:20

阅读数:34

评论数:0

Spy Syndrome 2 CodeForces - 633C

After observing the results of Spy Syndrome, Yash realised the errors of his ways. He now believes that a super spy such as Siddhant can't use a ciph...

2018-04-07 10:52:12

阅读数:44

评论数:0

Xor Sum HDU - 4825

Zeus 和 Prometheus 做了一个游戏,Prometheus 给 Zeus 一个集合,集合中包含了N个正整数,随后 Prometheus 将向 Zeus 发起M次询问,每次询问中包含一个正整数 S ,之后 Zeus 需要在集合当中找出一个正整数 K ,使得 K 与 S 的异或结果最大...

2018-04-04 20:53:41

阅读数:30

评论数:0

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