codeforces
Oxygen404
这个作者很懒,什么都没留下…
展开
-
Educational Codeforces Round 89 (Rated for Div. 2)
题目A. Shovels and SwordsB. ShuffleC. Palindromic PathsA. Shovels and SwordsPolycarp plays a well-known computer game (we won’t mention its name). In this game, he can craft tools of two types — shovels and swords. To craft a shovel, Polycarp spends two st原创 2020-06-12 00:58:09 · 1045 阅读 · 0 评论 -
Codeforces Round #648 (Div. 2)
@TOC一级目录二级目录三级目录A. Matrix GameAshish and Vivek play a game on a matrix consisting of n rows and m columns, where they take turns claiming cells. Unclaimed cells are represented by 0, while claimed cells are represented by 1. The initial state of the m原创 2020-06-08 00:49:27 · 943 阅读 · 0 评论 -
Codeforces Round #647 (Div. 2)
这里写目录标题A. Johnny and Ancient ComputerA. Johnny and Ancient Computertime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputJohnny has recently found an ancient, broken computer. The machine has only one re原创 2020-06-05 12:55:10 · 289 阅读 · 0 评论 -
B. Subsequence Hate
outputstandard outputShubham has a binary string s. A binary string is a string containing only characters “0” and “1”.He can perform the following operation on the string any amount of times:Select an index of the string, and flip the character at that原创 2020-06-01 01:02:45 · 326 阅读 · 1 评论 -
Codeforces Round #636 (Div. 3)D+E
D - Constant Palindrome Sumoutputstandard outputYou are given an array a consisting of n integers (it is guaranteed that n is even, i.e. divisible by 2). All ai does not exceed some integer k.Your ...原创 2020-04-23 16:47:35 · 245 阅读 · 0 评论 -
Codeforces Round #635 (Div. 2)D+Codeforces Round #633 (Div. 2)D
D. Xenia and Colorful Gemstime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputXenia is a girl being born a noble. Due to the inflexibility and ha...原创 2020-04-19 16:20:31 · 297 阅读 · 0 评论 -
Codeforces Round #632 (Div. 2)
A. Little Artemoutputstandard outputYoung boy Artem tries to paint a picture, and he asks his mother Medina to help him. Medina is very busy, that’s why she asked for your help.Artem wants to paint...原创 2020-04-09 20:50:43 · 305 阅读 · 0 评论 -
Codeforces Round #630 (Div. 2) E. Height All the Same
E. Height All the Sameoutputstandard outputAlice has got addicted to a game called Sirtet recently.In Sirtet, player is given an n×m grid. Initially ai,j cubes are stacked up in the cell (i,j). Two...原创 2020-04-05 17:09:58 · 255 阅读 · 0 评论 -
Codeforces Round #630 (Div. 2)
B. Composite ColoringA positive integer is called composite if it can be represented as a product of two positive integers, both greater than 1. For example, the following numbers are composite: 6, 4...原创 2020-04-01 19:03:01 · 328 阅读 · 0 评论 -
Codeforces Round #628 (Div. 2)
D. Ehab the XorcistGiven 2 integers u and v, find the shortest array such that bitwise-xor of its elements is u, and the sum of its elements is v.InputThe only line contains 2 integers u and v (0≤u...原创 2020-03-15 15:41:15 · 344 阅读 · 0 评论 -
Codeforces Round #631 (Div. 2)
A. Dreamoon and Ranking CollectionDreamoon is a big fan of the Codeforces contests.One day, he claimed that he will collect all the places from 1 to 54 after two more rated contests. It’s amazing!B...原创 2020-04-04 20:46:01 · 398 阅读 · 0 评论