摘要:
链接: https://codeforces.com/contest/1209/problem/D 题意: The legendary Farmer John is throwing a huge party, and animals from all over the world are hang 阅读全文
摘要:
链接: https://codeforces.com/contest/1209/problem/C 题意: You are given a sequence of n digits d1d2…dn. You need to paint all the digits in two colors so 阅读全文
摘要:
链接: https://codeforces.com/contest/1209/problem/B 题意: It is a holiday season, and Koala is decorating his house with cool lights! He owns n lights, al 阅读全文
摘要:
链接: https://codeforces.com/contest/1209/problem/A 题意: You are given a sequence of integers a1,a2,…,an. You need to paint elements in colors, so that: 阅读全文