Codeforces 1088C - Ehab and a 2-operation task题解链接https://lucien.ink题目链接https://codeforces.com/contest/1088/problem/C题目You're given an array $a$ of length $n$. You can perform the following operati...
题目链接http://acm.hdu.edu.cn/showproblem.php?pid=6396题目Lawson is a magic swordsman with k kinds of magic attributes v1,v2,v3,…,vk. Now Lawson is faced with n monsters and the i-th monster also has k k...
题目链接http://codeforces.com/contest/989/problem/C题目There are four kinds of flowers in the wood, Amaranths, Begonias, Centaureas and Dianthuses.The wood can be represented by a rectangular grid of n r...
题目链接http://codeforces.com/contest/989/problem/B题目The records are expressed as a string s of characters '0', '1' and '.', where '0' denotes a low tide, '1' denotes a high tide, and '.' denotes an un...
题目链接http://codeforces.com/contest/985/problem/B题目You are given n switches and m lamps. The i-th switch turns on some subset of the lamps. This information is given as the matrix a consisting of n r...