摘要:
传送门:http://codeforces.com/contest/839/problem/D Examples input 33 3 1 output 12 input 42 3 4 6 output 39 Note In the first sample the clans are {1}, { 阅读全文
posted @ 2017-08-17 13:20
Meternal
阅读(214)
评论(0)
推荐(0)
浙公网安备 33010602011771号