摘要: Descripe Given a string containing only 'A' - 'Z', we could encode it using the following method: 1. Each sub-string containing k same characters shou 阅读全文
posted @ 2017-04-10 23:14 limyel 阅读(166) 评论(0) 推荐(0) 编辑
摘要: Description The least common multiple (LCM) of a set of positive integers is the smallest positive integer which is divisible by all the numbers in th 阅读全文
posted @ 2017-04-10 21:08 limyel 阅读(117) 评论(0) 推荐(0) 编辑
摘要: Description Given two integers n and m, count the number of pairs of integers (a,b) such that 0 < a < b < n and (a^2+b^2 +m)/(ab) is an integer.This p 阅读全文
posted @ 2017-04-10 14:52 limyel 阅读(127) 评论(0) 推荐(0) 编辑