海绵的博客

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

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

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

怪盗基德的挑战书 HDU - 4552

传送门怪盗基德的挑战书Time Limit: 3000/1000 MS (Java/Others)    Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 1521    Accepted Submission(s): 70...

2018-02-11 18:42:47

阅读数:39

评论数:0

Repeats SPOJ - REPEATS

A string s is called an (k,l)-repeat if s is obtained by concatenating k>=1 times some seed string t with length l>=1. For exam...

2018-02-09 15:35:55

阅读数:36

评论数:0

Milk Patterns POJ - 3261

Farmer John has noticed that the quality of milk given by his cows varies from day to day. On further investigation, he discovered that although he c...

2018-02-09 09:08:20

阅读数:30

评论数:0

Distinct Substrings

Given a string, we need to find the total number of its distinct substrings. Input T- number of test cases. T Each test case consists of one strin...

2018-02-07 17:10:38

阅读数:33

评论数:0

Musical Theme

A musical melody is represented as a sequence of N (1<=N<=20000)notes that are integers in the range 1..88, each representing a key on the pian...

2018-02-07 17:07:39

阅读数:48

评论数:0

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