![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
codeforces
baymax520
这个作者很懒,什么都没留下…
展开
-
Codeforces Round #444(Div. 2) A. Div. 64
Top-model Izabella participates in the competition. She wants to impress judges and show her mathematical skills.Her problem is following: for given string, consisting of only 0 and 1, tell if it'原创 2017-11-08 20:50:58 · 223 阅读 · 0 评论 -
Codeforces Round #464 (Div. 2) C.Convenient For Everybody
C. Convenient For Everybodytime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputIn distant future on Earth day lasts for n hours and that's why there a...原创 2018-03-14 21:20:51 · 133 阅读 · 0 评论 -
Codeforces Round #464 (Div. 2) D. Love Rescue(并查集)
D. Love Rescuetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputValya and Tolya are an ideal pair, but they quarrel sometimes. Recently, Valya took ...原创 2018-03-15 20:07:41 · 202 阅读 · 1 评论 -
Codeforces Round #475 (Div. 2) A. Splits
A. Splitstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputLet's define a split of nn as a nonincreasing sequence of positive integers, the sum of wh...原创 2018-04-22 22:58:08 · 89 阅读 · 0 评论 -
Codeforces Round #475 (Div. 2) B. Messages
B. Messagestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are n incoming messages for Vasya. The i-th message is going to be received after ...原创 2018-04-23 20:12:30 · 153 阅读 · 0 评论 -
Codeforces Round #475 (Div. 2) C. Alternating Sum
C. Alternating Sumtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given two integers aa and bb. Moreover, you are given a sequence s0,s1,…,...原创 2018-04-23 20:16:44 · 118 阅读 · 0 评论 -
Codeforces Round #475 (Div. 2) D. Destruction of a Tree
D. Destruction of a Treetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a tree (a graph with n vertices and n - 1 edges in which it's...原创 2018-04-23 20:44:48 · 147 阅读 · 0 评论 -
Codeforces Round 42 (Rated for Div. 2) D. Merge Equals
D. Merge Equalstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given an array of positive integers. While there are at least two equal ele...原创 2018-04-29 13:11:05 · 151 阅读 · 0 评论 -
Codeforces Round #479 (Div. 3)
A. Wrong Subtraction给一个数进行k次操作,如果末位不为零就把这个数减一,如果末位为零就除十。输出k次操作之后的数。#include<cstdio>#include<cstring>#include<cmath>#include<iostream>#include<algorithm>using namespa...原创 2018-05-07 23:55:26 · 94 阅读 · 0 评论