HDU 6103 Kirinriki
We define the distance of two strings A and B with same length n is
disA,B=∑n−1i=0|Ai−Bn−1−i|dis_{A,B}=\sum_{i=0}^{n−1}|A_i−B_{n−1−i}|
The difference between the two characters is defined as the diff
原创
2017-08-11 00:37:08 ·
284 阅读 ·
0 评论