codeforces
文章平均质量分 85
kuronekonano
这个作者很懒,什么都没留下…
展开
-
CodeForces - 745B Hongcow Solves A Puzzle
Hongcow likes solving puzzles.One day, Hongcow finds two identical puzzle pieces, with the instructions “make a rectangle” next to them. The pieces can be described by an n by m grid of characters, whe原创 2017-08-08 00:13:35 · 273 阅读 · 0 评论 -
Codeforces Round #367 (Div. 2) D. Vasiliy's Multiset(带删除的01字典树)
D. Vasiliy’s Multiset time limit per test4 seconds memory limit per test256 megabytes inputstandard input outputstandard output Author has gone out of the stories about Vasiliy, so here is just a...原创 2018-08-05 20:40:48 · 222 阅读 · 0 评论 -
CodeForces - 617E XOR and Favorite Number (莫队算法)
Bob has a favorite number k and ai of length n. Now he asks you to answer m queries. Each query is given by a pair li and ri and asks you to count the number of pairs of integers i and j, such that l ...原创 2018-03-22 03:38:43 · 272 阅读 · 0 评论 -
Codeforces Round #384 (Div. 2) B. Chloe and the sequence
B. Chloe and the sequence time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Chloe, the same as Vladik, is a competitive programmer. She didn’原创 2017-08-13 01:34:43 · 443 阅读 · 0 评论 -
CodeForces - 741A Arpa's loud Owf and Mehrdad's evil plan
Arpa’s loud Owf and Mehrdad’s evil plan time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output As you have noticed, there are lovely girls in原创 2017-08-07 00:13:24 · 294 阅读 · 0 评论 -
Codeforces Round #386 (Div. 2) D. Green and Black Tea
D. Green and Black Tea time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Innokentiy likes tea very much and today he wants to drink exactly n原创 2017-08-13 02:40:59 · 388 阅读 · 0 评论 -
Codeforces Round #384 (Div. 2) A. Vladik and flights
A. Vladik and flights time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Vladik is a competitive programmer. This year he is going to win the原创 2017-08-13 01:48:33 · 202 阅读 · 0 评论 -
Codeforces Round #384 (Div. 2) C. Vladik and fractions
C. Vladik and fractions time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Vladik and Chloe decided to determine who of them is better at math原创 2017-08-13 01:01:34 · 241 阅读 · 0 评论 -
CodeForces - 742A Arpa’s hard exam and Mehrdad’s naive cheat
A. Arpa’s hard exam and Mehrdad’s naive cheat time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output There exists an island called Arpa’s land, so原创 2017-08-13 00:50:33 · 309 阅读 · 0 评论 -
Codeforces Round #387 (Div. 2) D. Winter Is Coming
D. Winter Is Coming time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output The winter in Berland lasts n days. For each day we know the forecast f原创 2017-08-17 22:49:18 · 213 阅读 · 0 评论 -
Codeforces Round #387 (Div. 2) C. Servers
C. Servers time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output There are n servers in a laboratory, each of them can perform tasks. Each serve原创 2017-08-17 22:39:38 · 277 阅读 · 0 评论 -
Codeforces Round #387 (Div. 2) B. Mammoth's Genome Decoding
B. Mammoth’s Genome Decoding time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output The process of mammoth’s genome decoding in Berland comes to i原创 2017-08-17 21:12:24 · 324 阅读 · 0 评论 -
Codeforces Round #387 (Div. 2) A. Display Size
A. Display Size time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output A big company decided to launch a new series of rectangular displays, and d原创 2017-08-17 20:49:01 · 220 阅读 · 0 评论 -
Codeforces Round #386 (Div. 2) B. Decoding
B. Decoding time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Polycarp is mad about coding, that is why he writes Sveta encoded messages. He原创 2017-08-17 20:03:19 · 263 阅读 · 0 评论 -
Codeforces Round #386 (Div. 2) A. Compote
A. Compote time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Nikolay has a lemons, b apples and c pears. He decided to cook a compote. Accord原创 2017-08-17 19:48:31 · 208 阅读 · 0 评论 -
Codeforces Round #386 (Div. 2) C. Tram
C. Tram time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output The tram in Berland goes along a straight line from the point 0 to the point s and原创 2017-08-17 02:47:53 · 409 阅读 · 0 评论 -
Codeforces Round #383 (Div. 2) B. Arpa’s obvious problem and Mehrdad’s terrible solution
B. Arpa’s obvious problem and Mehrdad’s terrible solution time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output There are some beautiful girls in原创 2017-08-08 00:36:52 · 332 阅读 · 0 评论 -
Codeforces Round #385 (Div. 2) A. Hongcow Learns the Cyclic Shift
A. Hongcow Learns the Cyclic Shift time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Hongcow is learning to spell! One day, his teacher give原创 2017-08-08 00:20:36 · 244 阅读 · 0 评论 -
Codeforces Round #550 A B C D E F
A题:给一个字符串,问字符串内字母是否是唯一且能够排列成连续的。直接sort一遍然后顺序遍历看之前的每个字母和之前那个是否连续【即a[i-1]==a[i]-1?】#include<bits/stdc++.h>#define LL long longusing namespace std;const int maxn=100+7;int n;int main(){ ...原创 2019-04-02 18:47:05 · 117 阅读 · 0 评论