摘要:
用1,2,3,...9组成3个3位数abc, def, ghi;每个数字恰好用一次,要求 abc:def :ghi = 1: 2 : 3;按照abc : def : ghi的格式输出。 通常想到的思路为枚举9个数, 然后再去判断;这样的话最小复杂度为9 * 9 * 9; 枚举消耗的时间相对来说较大, 阅读全文
posted @ 2017-03-30 10:57
lMonster81
阅读(233)
评论(1)
推荐(0)
摘要:
A character string is said to have period k if it can be formed by concatenating one or more repetitions of another string of length k. For example, t 阅读全文
posted @ 2017-03-30 10:53
lMonster81
阅读(437)
评论(0)
推荐(0)


浙公网安备 33010602011771号