
codeforces
文章平均质量分 79
x___song
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
codeforces 363A round211 div2 A.Soroban
简单模拟题 就是0到9 都有对应的珠算表达式 求出最低位的数先输出 高位的后输出直接就过了原创 2013-11-11 20:21:21 · 1009 阅读 · 0 评论 -
CF_#302_DIV2_C
http://codeforces.com/contest/544 C codeforces.com/contest/544/problem/C 有n个人 每个人写一行代码会产生ai个bug 问 写 m行代码时 不超过b个bug的 可能结果是多少种 O(n^3) 完全背包 http://paste.ubuntu.com/111原创 2015-05-13 16:25:48 · 423 阅读 · 0 评论 -
CF_#277.5_DIV2_A_B_C
http://codeforces.com/contest/489/problem/A A. SwapSort 给定一个n个序列原创 2014-11-18 17:18:16 · 377 阅读 · 0 评论 -
CF_#268_DIV2_A_B_D
hash 表示一个游戏有1~原创 2014-09-21 09:54:28 · 436 阅读 · 0 评论 -
cf_round#ff_a_b
A. DZY Loves Hash 题目链接:http://codeforces.com/contest/447/problem/A原创 2014-07-14 20:01:10 · 461 阅读 · 0 评论 -
Codeforces_Round_#241_DIV2_ABC
A. Guess a number! 题目链接 http://codeforces.com/contest/416/problem/A原创 2014-04-14 00:04:23 · 615 阅读 · 0 评论 -
codeforces round #235 A. Vanya and Cards
A. Vanya and Cards time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Vanya loves playing. He even has a special set of c原创 2014-03-11 02:17:49 · 550 阅读 · 2 评论 -
codeforces round #234 div.2 A
codeforces round #234 div.2 A A. Inna and Choose Options time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Ther原创 2014-03-06 02:43:43 · 824 阅读 · 0 评论 -
cfr#233div.2 A, B
cf太tm恶心了 服务器老是蹦。。。做着做着就跪了 A. Pages 简单模拟题 题意自己看啊 有几个问题要考虑 1 是不是要输出 2.是不是要输出 >> 1. 对于第一个问题 分两种可能 要输出 不要输出 发现p - k > 1时 是要输出 符号的 其他情况则不需要 直接从1 开始输出 2. 同理 对于第二个问题 p + k原创 2014-03-02 01:57:25 · 720 阅读 · 0 评论 -
codeforces 363B round211 div2 B. Fence
简单模拟题 一定要细心!!!无语 题目意思是给你两个整数n, k ( 1 表示有n个宽度相同的木板 然后给你一行n个整数代表从1到n个木板的高度h ( 1 这些木板是有序的 但是不循环 问你要拆除k个连续的木板 而且这k个木板的高度之和为所有可能性中最小时 该k个木板第一个木板的序号 想直接暴力过 先全部读入然后算出所有可能性 再找最小的 超时 然后边读边做读原创 2013-11-11 20:37:32 · 809 阅读 · 0 评论 -
codeforces_#135_div2_219A
http://codeforces.com/problemset/problem/219/A 给一个数字k, 再给一个字符串s 判断s能不能改变顺序成为一个由k个相同子串构成的字符串 因为是小写字母,哈希统计下各个小写字母的个数,每个判断下是否整除k 存在不能整除的则说明没有办法分成k个相同子串。 然后按照顺序输出下子串即可 http://paste原创 2015-09-15 19:51:39 · 493 阅读 · 0 评论