随笔分类 -  online judge Codeforces

上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 51 下一页
摘要:Codeforces Round 271 (Div. 2) A Keyboard 题意 给你一个字符串,问你这个字符串在键盘的位置往左边挪一位,或者往右边挪一位字符,这个字符串是什么样子 题解 模拟一下就好了 代码 include using namespace std; string s[3]; 阅读全文
posted @ 2016-12-06 12:54 qscqesze 阅读(356) 评论(0) 推荐(0) 编辑
摘要:Codeforces Beta Round 83 (Div. 1 Only) A. Dorm Water Supply 题意 给你一个n点m边的图,保证每个点的入度和出度最多为1 如果这个点入度为0,那么这个点就是水龙头点。 如果这个点的出度为0,那么这个点就是储存点。 现在让你把所有水龙头到储存点 阅读全文
posted @ 2016-12-05 23:20 qscqesze 阅读(491) 评论(0) 推荐(0) 编辑
摘要:Codeforces Round 177 (Div. 1) A. Polo the Penguin and Strings 题意 让你构造一个长度为n的串,且里面恰好包含k个不同字符,让你构造的字符串字典序最小。 题解 先abababab,然后再把k个不同字符输出,那么这样就是最少 代码 inclu 阅读全文
posted @ 2016-12-05 11:30 qscqesze 阅读(356) 评论(0) 推荐(0) 编辑
摘要:B. Alyona and a tree 题目连接: http://codeforces.com/contest/739/problem/B Description Alyona has a tree with n vertices. The root of the tree is the vert 阅读全文
posted @ 2016-11-26 00:51 qscqesze 阅读(888) 评论(0) 推荐(0) 编辑
摘要:C. Binary Table 题目连接: http://codeforces.com/problemset/problem/662/C Description You are given a table consisting of n rows and m columns. Each cell o 阅读全文
posted @ 2016-11-26 00:09 qscqesze 阅读(513) 评论(0) 推荐(1) 编辑
摘要:A. Alyona and mex 题目连接: http://codeforces.com/contest/739/problem/A Description Alyona's mother wants to present an array of n non negative integers t 阅读全文
posted @ 2016-11-24 19:34 qscqesze 阅读(739) 评论(0) 推荐(0) 编辑
摘要:E. Anton and Tree 题目连接: http://codeforces.com/contest/734/problem/E Description Anton is growing a tree in his garden. In case you forgot, the tree is 阅读全文
posted @ 2016-11-16 14:43 qscqesze 阅读(621) 评论(1) 推荐(0) 编辑
摘要:D. Anton and Chess 题目连接: http://codeforces.com/contest/734/problem/D Description Anton likes to play chess. Also, he likes to do programming. That is 阅读全文
posted @ 2016-11-16 14:27 qscqesze 阅读(560) 评论(0) 推荐(0) 编辑
摘要:C. Anton and Making Potions 题目连接: http://codeforces.com/contest/734/problem/C Description Anton is playing a very interesting computer game, but now h 阅读全文
posted @ 2016-11-16 13:49 qscqesze 阅读(385) 评论(0) 推荐(0) 编辑
摘要:B. Anton and Digits 题目连接: http://codeforces.com/contest/734/problem/B Description Recently Anton found a box with digits in his room. There are k2 dig 阅读全文
posted @ 2016-11-16 13:15 qscqesze 阅读(501) 评论(0) 推荐(0) 编辑
摘要:A. Anton and Danik 题目连接: http://codeforces.com/contest/734/problem/A Description Anton likes to play chess, and so does his friend Danik. Once they ha 阅读全文
posted @ 2016-11-16 12:57 qscqesze 阅读(592) 评论(0) 推荐(0) 编辑
摘要:C. Drazil and Park 题目连接: http://codeforces.com/contest/516/problem/C Description Drazil is a monkey. He lives in a circular park. There are n trees ar 阅读全文
posted @ 2016-11-07 20:50 qscqesze 阅读(487) 评论(0) 推荐(0) 编辑
摘要:B. Drazil and Tiles 题目连接: http://codeforces.com/contest/516/problem/B Description Drazil created a following problem about putting 1 × 2 tiles into an 阅读全文
posted @ 2016-11-07 19:49 qscqesze 阅读(521) 评论(0) 推荐(0) 编辑
摘要:A. Drazil and Factorial 题目连接: http://codeforces.com/contest/516/problem/A Description Drazil is playing a math game with Varda. Let's define for posit 阅读全文
posted @ 2016-11-07 19:21 qscqesze 阅读(265) 评论(0) 推荐(0) 编辑
摘要:E. Goods transportation 题目连接: http://codeforces.com/contest/724/problem/E Description There are n cities located along the one way road. Cities are nu 阅读全文
posted @ 2016-10-10 17:58 qscqesze 阅读(335) 评论(0) 推荐(0) 编辑
摘要:D. Dense Subsequence 题目连接: http://codeforces.com/contest/724/problem/D Description You are given a string s, consisting of lowercase English letters, 阅读全文
posted @ 2016-10-10 01:00 qscqesze 阅读(319) 评论(0) 推荐(1) 编辑
摘要:C. Ray Tracing 题目连接: http://codeforces.com/contest/724/problem/C Description oThere are k sensors located in the rectangular room of size n × m meters 阅读全文
posted @ 2016-10-09 14:28 qscqesze 阅读(560) 评论(0) 推荐(0) 编辑
摘要:B. Batch Sort 题目连接: http://codeforces.com/contest/724/problem/B Description output standard output You are given a table consisting of n rows and m co 阅读全文
posted @ 2016-10-09 13:32 qscqesze 阅读(270) 评论(0) 推荐(0) 编辑
摘要:A. Checking the Calendar 题目连接: http://codeforces.com/contest/724/problem/A Description You are given names of two days of the week. Please, determine 阅读全文
posted @ 2016-10-09 13:22 qscqesze 阅读(365) 评论(0) 推荐(0) 编辑
摘要:F. st Spanning Tree 题目连接: http://codeforces.com/contest/723/problem/F Description You are given an undirected connected graph consisting of n vertices 阅读全文
posted @ 2016-10-04 15:04 qscqesze 阅读(510) 评论(0) 推荐(1) 编辑

上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 51 下一页