10 2018 档案

BerOS File Suggestion(字符串匹配map)
摘要:BerOS File Suggestion(stl-map应用) Polycarp is working on a new operating system called BerOS. He asks you to help with implementation of a file suggest 阅读全文

posted @ 2018-10-22 19:32 一只小毛球 阅读(209) 评论(0) 推荐(0)

Garbage Disposal(模拟垃圾装垃圾口袋)
摘要:Garbage Disposal Description Enough is enough. Too many times it happened that Vasya forgot to dispose of garbage and his apartment stank afterwards. 阅读全文

posted @ 2018-10-22 19:25 一只小毛球 阅读(405) 评论(0) 推荐(0)

第八周组队赛
摘要:D - Garbage Disposal Description Enough is enough. Too many times it happened that Vasya forgot to dispose of garbage and his apartment stank afterwar 阅读全文

posted @ 2018-10-22 19:21 一只小毛球 阅读(143) 评论(0) 推荐(0)

Adjacent Bit Counts(01组合数)
摘要:Adjacent Bit Counts 4557 Adjacent Bit CountsFor a string of n bits x 1 , x 2 , x 3 ,..., x n , the adjacent bit count of the string (AdjBC(x)) is give 阅读全文

posted @ 2018-10-17 15:40 一只小毛球 阅读(167) 评论(0) 推荐(0)

Balls(扔鸡蛋问题)
摘要:4554 BallsThe classic Two Glass Balls brain-teaser is often posed as:“Given two identical glass spheres, you would like to determine the lowest floor 阅读全文

posted @ 2018-10-17 15:38 一只小毛球 阅读(182) 评论(0) 推荐(0)

Week__8
摘要:Monday_ 今晚补了扔鸡蛋问题的动态规划问题,补了这道题,感觉视野又开阔了些。 写了一道思维题cf 1066A 数字逻辑后半节听得打脑壳,现在很晚了,明天再看叭。 Tuesday_ 今晚补了 adjacent bit counts这道题 也是一道动归的题,不得不说,动态规划真的很神奇,还是要多练 阅读全文

posted @ 2018-10-15 22:41 一只小毛球 阅读(102) 评论(0) 推荐(0)

组队赛(第7周) (动态规划扔鸡蛋问题)
摘要:E(动态规划扔鸡蛋) 4554 BallsThe classic Two Glass Balls brain-teaser is often posed as:“Given two identical glass spheres, you would like to determine the lo 阅读全文

posted @ 2018-10-15 21:19 一只小毛球 阅读(211) 评论(0) 推荐(0)

2018SDIBT_国庆个人第七场
摘要:A - Complete the Word(暴力) Description ZS the Coder loves to read the dictionary. He thinks that a word is nice if there exists a substring (contiguous 阅读全文

posted @ 2018-10-10 19:53 一只小毛球 阅读(226) 评论(0) 推荐(0)

codeforces 1041A Heist
摘要:electronic a.电子的 heist v.抢劫 in ascending order 升序 indice n.标记 device n.装置设备 staff n.职员 in arbitrary order 任意顺序 pairwise distinct两两相异 题意就是:一个电子商品店被抢劫了, 阅读全文

posted @ 2018-10-09 20:21 一只小毛球 阅读(144) 评论(0) 推荐(0)

tips___代码规范
摘要:函数变量尽可能置于最小作用域内,并在变量声明时进行初始化 变量声明的位置最好离第一次使用的位置越近越好;应使用初始化的方式代替声明再赋值。 int x=0; rather than int x; x=0; // vector<>int v={1,2}; rather than vector<int> 阅读全文

posted @ 2018-10-08 20:57 一只小毛球 阅读(276) 评论(0) 推荐(0)

2018SDIBT_国庆个人第六场
摘要:A - A codeforces 714A Description Today an outstanding event is going to happen in the forest — hedgehog Filya will come to his old fried Sonya! Sonya 阅读全文

posted @ 2018-10-07 00:03 一只小毛球 阅读(130) 评论(0) 推荐(0)

2018SDIBT_国庆个人第五场
摘要:A - ACodeForces 1060A Description Let's call a string a phone number if it has length 11 and fits the pattern "8xxxxxxxxxx", where each "x" is replace 阅读全文

posted @ 2018-10-05 16:19 一只小毛球 阅读(220) 评论(0) 推荐(0)

2018SDIBT_国庆个人第四场
摘要:A - A 这题很巧妙啊,前两天刚好做过,而且就在博客里 Little C Loves 3 I time limit per test 1 second memory limit per test 256 megabytes input standard input output standard 阅读全文

posted @ 2018-10-05 10:29 一只小毛球 阅读(156) 评论(0) 推荐(0)

2018SDIBT_国庆个人第三场
摘要:A - A CodeForces - 1042A There are nn benches in the Berland Central park. It is known that aiai people are currently sitting on the ii-th bench. Anot 阅读全文

posted @ 2018-10-03 17:46 一只小毛球 阅读(264) 评论(0) 推荐(0)

2018SDIBT_国庆个人第二场
摘要:A.codeforces1038A You are given a string ss of length nn, which consists only of the first kk letters of the Latin alphabet. All letters in string ss  阅读全文

posted @ 2018-10-02 18:53 一只小毛球 阅读(235) 评论(0) 推荐(0)

1047B_Cover Points
摘要:B. Cover Points time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output B. Cover Points time limi 阅读全文

posted @ 2018-10-02 10:13 一只小毛球 阅读(136) 评论(0) 推荐(0)

1047A_Little C Loves 3 I(构造)
摘要:A. Little C Loves 3 I time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output A. Little C Loves 3 阅读全文

posted @ 2018-10-02 09:16 一只小毛球 阅读(171) 评论(0) 推荐(0)

2018SDIBT_国庆个人第一场
摘要:A - Turn the Rectangles CodeForces - 1008B There are nn rectangles in a row. You can either turn each rectangle by 9090 degrees or leave it as it is. 阅读全文

posted @ 2018-10-01 17:37 一只小毛球 阅读(140) 评论(0) 推荐(0)

导航