随笔分类 - Codeforces
摘要:链接: https://codeforces.com/contest/1220/problem/C 题意: Mike and Ann are sitting in the classroom. The lesson is boring, so they decided to play an inte
阅读全文
摘要:链接: https://codeforces.com/contest/1220/problem/B 题意: Sasha grew up and went to first grade. To celebrate this event her mother bought her a multiplic
阅读全文
摘要:链接: https://codeforces.com/contest/1220/problem/A 题意: When Serezha was three years old, he was given a set of cards with letters for his birthday. The
阅读全文
摘要:链接: https://codeforces.com/contest/1221/problem/D 题意: You have a fence consisting of n vertical boards. The width of each board is 1. The height of th
阅读全文
摘要:链接: https://codeforces.com/contest/1221/problem/B 题意: You are given a chess board with n rows and n columns. Initially all cells of the board are empt
阅读全文
摘要:链接: https://codeforces.com/contest/1221/problem/C 题意: You may have already known that a standard ICPC team consists of exactly three members. The perf
阅读全文
摘要:链接: https://codeforces.com/contest/1221/problem/A 题意: You are playing a variation of game 2048. Initially you have a multiset s of n integers. Every i
阅读全文
摘要:链接: https://codeforces.com/contest/1216/problem/D 题意: There were n types of swords in the theater basement which had been used during the plays. Moreo
阅读全文
摘要:链接: https://codeforces.com/contest/1216/problem/C 题意: There is a white sheet of paper lying on a rectangle table. The sheet is a rectangle with its si
阅读全文
摘要:链接: https://codeforces.com/contest/1216/problem/B 题意: Recently Vasya decided to improve his pistol shooting skills. Today his coach offered him the fo
阅读全文
摘要:链接: https://codeforces.com/contest/1216/problem/A 题意: Nikolay got a string s of even length n, which consists only of lowercase Latin letters 'a' and
阅读全文
摘要:链接: https://codeforces.com/contest/1230/problem/E 题意: Kamil likes streaming the competitive programming videos. His MeTube channel has recently reache
阅读全文
摘要:链接: https://codeforces.com/contest/1230/problem/D 题意: Marcin is a coach in his university. There are n students who want to attend a training camp. Ma
阅读全文
摘要:链接: https://codeforces.com/contest/1230/problem/C 题意: Anadi has a set of dominoes. Every domino has two parts, and each part contains some dots. For e
阅读全文
摘要:链接: https://codeforces.com/contest/1230/problem/B 题意: Ania has a large integer S. Its decimal representation has length n and doesn't contain any lead
阅读全文
摘要:链接: https://codeforces.com/contest/1230/problem/A 题意: Dawid has four bags of candies. The i th of them contains ai candies. Also, Dawid has two friend
阅读全文
摘要:链接: https://codeforces.com/contest/1228/problem/E 题意: You have n×n square grid and an integer k. Put an integer in each cell while satisfying the cond
阅读全文
摘要:链接: https://codeforces.com/contest/1228/problem/D 题意: You have a simple undirected graph consisting of n vertices and m edges. The graph doesn't conta
阅读全文
摘要:链接: https://codeforces.com/contest/1228/problem/C 题意: Let's introduce some definitions that will be needed later. Let prime(x) be the set of prime div
阅读全文
摘要:链接: https://codeforces.com/contest/1228/problem/B 题意: Suppose there is a h×w grid consisting of empty or full cells. Let's make some definitions: ri i
阅读全文

浙公网安备 33010602011771号