摘要: CF991C Candies "洛谷评测传送门" 题目描述 After passing a test, Vasya got himself a box of n n candies. He decided to eat an equal amount of candies each morning 阅读全文
posted @ 2019-10-28 18:26 Seaway-Fu 阅读(402) 评论(0) 推荐(1)
摘要: CF1146D Frog Jumping "洛谷评测传送门" 题目描述 A frog is initially at position 00 on the number line. The frog has two positive integers a a and b b . From a pos 阅读全文
posted @ 2019-10-28 16:58 Seaway-Fu 阅读(354) 评论(0) 推荐(0)
摘要: CF1225C p binary "洛谷评测传送门" 题目描述 Vasya will fancy any number as long as it is an integer power of two. Petya, on the other hand, is very conservative a 阅读全文
posted @ 2019-10-28 15:59 Seaway-Fu 阅读(287) 评论(0) 推荐(0)
摘要: 关于lowbit运算的相关知识 本篇随笔简单讲解一下计算机中位运算的一类重要运算方式——$lowbit$运算。 lowbit的概念 我们知道,任何一个正整数都可以被表示成一个二进制数。如: $$ (2)_{10}=(10)_2 $$ $$ (4)_{10}=(100)_2 $$ $$ \cdots 阅读全文
posted @ 2019-10-28 15:21 Seaway-Fu 阅读(14874) 评论(4) 推荐(21)
摘要: CF1225B2 TV Subscriptions (Hard Version) "洛谷评测传送门" 题目描述 The only difference between easy and hard versions is constraints. The BerTV channel every day 阅读全文
posted @ 2019-10-28 14:16 Seaway-Fu 阅读(318) 评论(0) 推荐(0)
摘要: CF1225B1 TV Subscriptions (Easy Version) "洛谷评测传送门" 题目描述 The only difference between easy and hard versions is constraints. The BerTV channel every day 阅读全文
posted @ 2019-10-28 10:03 Seaway-Fu 阅读(269) 评论(0) 推荐(0)
摘要: CF1225A Forgetting Things "洛谷评测传送门" 题目描述 Kolya is very absent minded. Today his math teacher asked him to solve a simple problem with the equation a + 阅读全文
posted @ 2019-10-28 07:30 Seaway-Fu 阅读(328) 评论(0) 推荐(0)