随笔分类 - 纯数论
摘要:(链接点这儿) 题目: The GCD of two positive integers is the largest integer that divides both the integers without any remainder. The LCM of two positive inte
阅读全文
摘要:2298. 异或 时间限制: 1000 ms 空间限制: 262144 KB 2298. 异或 时间限制: 1000 ms 空间限制: 262144 KB 2298. 异或 时间限制: 1000 ms 空间限制: 262144 KB 2298. 异或 时间限制: 1000 ms 空间限制: 2621
阅读全文
摘要:有n 座山,每座山有南北两面。每一天,一些山的某一面(不一定相同) 会受到山魔的袭击。但是山魔一天最多只会袭击k 座山。当每座山的每一面都被袭击过后,山魔就会离开。那么至少要经过多少天,山魔会消失?Input一行两个正整数n, k。Output一个整数,表示答案。Examplesdevil.in d
阅读全文

浙公网安备 33010602011771号