随笔分类 -  Acm集训

3月3号周练——2015 Multi-University Training Contest 7
摘要:2015 Multi-University Training Contest 7 题意:将一个n位二进制数(二进制数中有些位数上的数子是未知的,表示成‘?’,也就是说转换成的格雷码有多种可能)转换为格雷码gray[n],同时给出一个n个整数a[n],求a[i]*gray[i]和的最大值。 思路:用动 阅读全文

posted @ 2016-03-16 11:05 Tob's_the_top 阅读(142) 评论(0) 推荐(0)

3月13号周练——2015 Multi-University Training Contest 9
摘要:小结:此题看过题解后,思路是对的,但是对取模的机制和组合数的求法不是很熟练,需要加强。 阅读全文

posted @ 2016-03-13 15:56 Tob's_the_top 阅读(138) 评论(0) 推荐(0)

J. Leader in Tree Land
摘要:小结:逆元替代分数的这种做法还没有理解。 阅读全文

posted @ 2016-03-13 10:43 Tob's_the_top 阅读(178) 评论(0) 推荐(0)

E. The shortest problem
摘要:http://www.bnuoj.com/v3/contest_show.php?cid=7612#info http://www.bnuoj.com/v3/contest_show.php?cid=7612#problem/ 题解:http://bestcoder.hdu.edu.cn/blog/ 阅读全文

posted @ 2016-03-12 10:56 Tob's_the_top 阅读(93) 评论(0) 推荐(0)

导航