枚举
文章平均质量分 76
Zhac
菜菜菜
展开
-
CodeForces612AThe Text Splitting(模拟,暴力枚举)
Description You are given the string s of length n and the numbers p, q. Split the string s to pieces of length p and q. For example, the string "Hello" for p = 2, q = 3 can be split to the two st原创 2016-07-21 15:02:50 · 271 阅读 · 0 评论 -
hdu 5631 Rikka with Graph(并查集+枚举)
Description As we know, Rikka is poor at math. Yuta is worrying about this situation, so he gives Rikka some math tasks to practice. There is one of them: Yuta has a non-direct graph with n vert原创 2016-08-01 20:45:46 · 657 阅读 · 0 评论