摘要:
链接: https://codeforces.com/contest/1247/problem/D 题意: You are given n positive integers a1,…,an, and an integer k≥2. Count the number of pairs i,j suc 阅读全文
摘要:
链接: https://codeforces.com/contest/1247/problem/C 题意: Vasya will fancy any number as long as it is an integer power of two. Petya, on the other hand, 阅读全文
摘要:
链接: https://codeforces.com/contest/1247/problem/B2 题意: The only difference between easy and hard versions is constraints. The BerTV channel every day 阅读全文
摘要:
链接: https://codeforces.com/contest/1247/problem/A 题意: Kolya is very absent minded. Today his math teacher asked him to solve a simple problem with the 阅读全文