A. Sweet Problem You have three piles of candies: red, green and blue candies: the fi ...
D. Secret Passwords One unknown hacker wants to get the admin s password of AtForces testing system, to get problems from the next contest. To achieve that, he sneaked into the administrator s office ...
2019-11-30 11:33 0 290 推荐指数:
A. Sweet Problem You have three piles of candies: red, green and blue candies: the fi ...
D. Nezzar and Board https://codeforces.com/contest/1478/problem/D 题解 题意为给出一个序列xi,你可以任意挑选两个数x,y将2·x-y加入序列中,询问在是否可以在序列中发现数k。 假设我们任意挑选4个数:x,y,p,q ...
题意:一个n个数码位的分数板,每一个数码位都是一个七段数码管,现在给出每个数码位的显示情况,问再点亮k段数码管的话能显示的最大的数是多少,如果不能构成一串数字,就输出-1. 答案允许有前导0,但是有前导0的时候答案长度必须要跟n一致 原题链接:https://codeforces ...
D. Yet Another Monster Killing Problem You play a computer game. In this game, you lead a party of 𝑚 heroes, and you have to clear a dungeon ...
D. Irreducible Anagrams time limit per test2 seconds memory limit per test256 megabytes Let's call two strings s and t anagrams of each other ...
D. 1-2-K Game time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Alice and Bob play a game. ...
F. Economic Difficulties An electrical grid in Berland palaces consists of 2 grids: main and reserv ...
E. Editor The development of a text editor is a hard problem. You need to implement an extra module ...