摘要:
题目描述 如果一个字符串包含两个相邻的重复子串,则称他是“容易的串”,其他串称为"困难的串"。例如,BB,ABCDACABCAB,ABCDABCD都是容易的串,而D,DC,ABDAB,CBABCBAD都是困难的串。 题目描述 如果一个字符串包含两个相邻的重复子串,则称他是“容易的串”,其他串称为"困 阅读全文
摘要:
Description BackgroundThe knight is getting bored of seeing the same black and white squares again and again and has decided to make a journey around 阅读全文
摘要:
Description Farmer John has arranged his N (1 ≤ N ≤ 5,000) cows in a row and many of them are facing forward, like good cows. Some of them are facing 阅读全文
摘要:
Description A robot has been programmed to follow the instructions in its path. Instructions for the next direction the robot is to move are laid down 阅读全文