随笔分类 -  数论

摘要:n!%k^i==0 TimeLimit:5000MS MemoryLimit:65536KB 64-bit integer IO format:%I64d Problem Description 给你n和k,求最大的i 使得n!%k^i==0 Input 第一行是一个t表测试数据的组数 每组测试数据 阅读全文
posted @ 2016-03-10 20:53 假大空 阅读(387) 评论(0) 推荐(0)
摘要:Duff in Love TimeLimit:2000MS MemoryLimit:256MB 64-bit integer IO format:%I64d Problem Description Duff is in love with lovely numbers! A positive int 阅读全文
posted @ 2016-02-06 22:35 假大空 阅读(310) 评论(0) 推荐(0)