01 2018 档案

CodeForces 917A The Monster 贪心+思维
摘要:As Will is stuck in the Upside Down, he can still communicate with his mom, Joyce, through the Christmas lights (he can turn them on and off with his 阅读全文

posted @ 2018-01-31 20:03 九月旧约 阅读(475) 评论(0) 推荐(0)

hdu 1671 Phone List 字典树模板
摘要:Given a list of phone numbers, determine if it is consistent in the sense that no number is the prefix of another. Let’s say the phone catalogue liste 阅读全文

posted @ 2018-01-23 15:27 九月旧约 阅读(132) 评论(0) 推荐(0)

HDU 5793 A Boring Question 多校训练
摘要:There are an equation. ∑0≤k1,k2,⋯km≤n∏1⩽j<m(kj+1kj)%1000000007=?∑0≤k1,k2,⋯km≤n∏1⩽j<m(kj+1kj)%1000000007=? We define that (kj+1kj)=kj+1!kj!(kj+1−kj)!(k 阅读全文

posted @ 2018-01-21 22:04 九月旧约 阅读(183) 评论(0) 推荐(0)

导航