摘要:
描述Given two strings A and B, whose alphabet consist only ‘0’ and ‘1’. Your task is only to tell how many times does A appear as a substring of B? For ... 阅读全文
摘要:
描述The digital root of a positive integer is found by summing the digits of the integer. If the resulting value is a single digit then that digit is th... 阅读全文