摘要:
Square-free division (easy version) This is the easy version of the problem. The only difference is that in this version k=0. There is an array a1,a2, 阅读全文
摘要:
Square-free division (easy version) This is the easy version of the problem. The only difference is that in this version k=0. There is an array a1,a2, 阅读全文
摘要:
K-beautiful Strings You are given a string s consisting of lowercase English letters and a number k. Let's call a string consisting of lowercase Engli 阅读全文
摘要:
C. Floor and Mod A pair of positive integers \( (a,b) \) is called special if \(\lfloor \frac{a}{b} \rfloor = a \bmod b \). Here, \( \lfloor \frac{a}{ 阅读全文
摘要:
Searching Local Minimum This is an interactive problem. Homer likes arrays a lot and he wants to play a game with you. Homer has hidden from you a per 阅读全文
摘要:
C. 亦或骗子 https://codeforces.com/gym/102889/problem/C 问题描述 对于非负整数 u, v 的异或 ,w 二进制下第 i 位为 1,当且仅当 u 和 v 二进制下的第 i 位不相同。 非负整数 x 的 ,定义为 x 二进制下 1 的个数,比如 , , 。 阅读全文