随笔分类 -  纯数论

摘要:(链接点这儿) 题目: The GCD of two positive integers is the largest integer that divides both the integers without any remainder. The LCM of two positive inte 阅读全文
posted @ 2019-08-10 20:23 人之常路 阅读(207) 评论(0) 推荐(0)
摘要:2298. 异或 时间限制: 1000 ms 空间限制: 262144 KB 2298. 异或 时间限制: 1000 ms 空间限制: 262144 KB 2298. 异或 时间限制: 1000 ms 空间限制: 262144 KB 2298. 异或 时间限制: 1000 ms 空间限制: 2621 阅读全文
posted @ 2019-08-09 18:17 人之常路 阅读(276) 评论(1) 推荐(1)
摘要:有n 座山,每座山有南北两面。每一天,一些山的某一面(不一定相同) 会受到山魔的袭击。但是山魔一天最多只会袭击k 座山。当每座山的每一面都被袭击过后,山魔就会离开。那么至少要经过多少天,山魔会消失?Input一行两个正整数n, k。Output一个整数,表示答案。Examplesdevil.in d 阅读全文
posted @ 2019-07-14 18:33 人之常路 阅读(280) 评论(0) 推荐(0)