摘要: 部分题解后面更行 A Equivalent Prefixes 题解:https://blog.csdn.net/liufengwei1/article/details/96515809 参考代码: #include<bits/stdc++.h> #define maxl 100010 using n 阅读全文
posted @ 2019-07-18 23:43 StarHai 阅读(563) 评论(0) 推荐(0) 编辑
摘要: 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 ca 阅读全文
posted @ 2019-07-18 22:17 StarHai 阅读(213) 评论(0) 推荐(0) 编辑
摘要: 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 piano. It i 阅读全文
posted @ 2019-07-18 22:05 StarHai 阅读(291) 评论(0) 推荐(0) 编辑
摘要: Given a string, we need to find the total number of its distinct substrings. Input T- number of test cases. T<=20;Each test case consists of one strin 阅读全文
posted @ 2019-07-18 10:49 StarHai 阅读(305) 评论(0) 推荐(0) 编辑