上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 25 下一页

2018年10月15日

Week__8

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

posted @ 2018-10-15 22:41 一只小毛球 阅读(98) 评论(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 一只小毛球 阅读(186) 评论(0) 推荐(0) 编辑

2018年10月10日

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 一只小毛球 阅读(218) 评论(0) 推荐(0) 编辑

2018年10月9日

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 一只小毛球 阅读(134) 评论(0) 推荐(0) 编辑

2018年10月8日

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 一只小毛球 阅读(263) 评论(0) 推荐(0) 编辑

上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 25 下一页

导航