摘要:
Bob has a dictionary with N words in it. Now there is a list of words in which the middle part of the word has continuous letters disappeared. The mid 阅读全文
摘要:
We define the distance of two strings A and B with same length n is dis A,B =∑ i=0 n−1 |A i −B n−1−i | disA,B=∑i=0n−1|Ai−Bn−1−i| The difference betwee 阅读全文
摘要:
Give an array A, the index starts from 1. Now we want to know B i =max i∤j A j Bi=maxi∤jAj , i≥2 i≥2 . InputThe first line of the input gives the numb 阅读全文