博客园 首页 私信博主 显示目录 隐藏目录 管理 动画
摘要: Description 给一个数字串s和正整数d, 统计s有多少种不同的排列能被d整除(可以有前导0)。例如123434有90种排列能被2整除,其中末位为2的有30种,末位为4的有60种。 给一个数字串s和正整数d, 统计s有多少种不同的排列能被d整除(可以有前导0)。例如123434有90种排列能 阅读全文
posted @ 2016-06-10 15:50 swm_sxt 阅读(170) 评论(0) 推荐(0) 编辑
摘要: C. Bear and Square Grid time limit per test 3 seconds memory limit per test 256 megabytes input standard input output standard output C. Bear and Squa 阅读全文
posted @ 2016-06-10 15:32 swm_sxt 阅读(372) 评论(0) 推荐(0) 编辑