上一页 1 2 3 4 5 6 7 ··· 9 下一页
摘要: 提示:如果公式挂了请多刷新几次,MathJex的公式渲染速度并不是那么理想。 总的来说,还是自己太弱了啊。只做了T1,还WA了两发。今天还有一场CodeForces,晚上0点qwq... 题解还是要好好写的。 A - Digit Sum 2 Time limit : 2sec / Memory li 阅读全文
posted @ 2018-02-28 13:33 baka 阅读(687) 评论(0) 推荐(1) 编辑
摘要: ...Reserved for the future... 仿照xxy dalao的CF&CC百套计划,做了一个Codeforces & AtCoder 百套计划,按这个速度刷下去,每周大约能做3-4场比赛,争取在NOIp 2018前完成100套比赛的题解,把自己的水平提高到NOIp水平。路漫漫其修 阅读全文
posted @ 2018-02-25 20:11 baka 阅读(596) 评论(0) 推荐(0) 编辑
摘要: 果然我还是那么弱啊。——$Mingqi_H.$ Day -1 下午五点半回家。然而并没有什么事情可做。依旧是下载$Magical\,Mirai$,找一个黄油存起来。 emmm...本来是打算去开发区那边新的蓝海吃饭来的,结果满了,qwq,只能去附近的兰州拉面凑合一顿(也没那么差啦)。 饭后看《红海行 阅读全文
posted @ 2018-02-24 19:46 baka 阅读(274) 评论(0) 推荐(1) 编辑
摘要: 原题: Time limit : 2sec / Memory limit : 256MB Score : 300 points Problem Statement This is an interactive task. There are N balls labeled with the firs 阅读全文
posted @ 2018-02-23 20:50 baka 阅读(1442) 评论(1) 推荐(0) 编辑
摘要: Problem 3. Lemon_Soda【题目描述】小可乐惊喜的发现一瓶汽水中了再来一瓶, 他去商店换汽水的时候, 店主 $Lemon$ 和 $Soda$ 打算耍耍他,出了一个难题,而且做不出来就不给汽水喝这题说的是:使得$x^x$达到或超过 $n$ 位数字的最小正整数 $x$ 是多少?小可乐见了 阅读全文
posted @ 2018-02-20 10:23 baka 阅读(194) 评论(0) 推荐(0) 编辑
摘要: 这个是某dalao写的int128类,可能不是那么好用,暂存,回家搞一点事情。 阅读全文
posted @ 2018-02-04 22:22 baka 阅读(1789) 评论(0) 推荐(1) 编辑
摘要: #include #include #include #include #include using namespace std; const int maxn=100100,inf=0x7fffffff; struct Treap { Treap* ch[2]; int key,val,size; Treap(int v) {size=1,va... 阅读全文
posted @ 2018-01-14 16:26 baka 阅读(187) 评论(0) 推荐(0) 编辑
摘要: #include #include #include using namespace std; const int maxn=1e6+10; const int maxm=2*maxn; struct Edge{ int u,v,w; }edge[maxm]; int head[maxn],cnt; inline void add(int u,int v,int w){edge[++cnt].... 阅读全文
posted @ 2017-12-23 10:15 baka 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 写在前面 数据结构这种东西,还是需要学习一下的。不能投机取巧用STL了,得学会自己手写,毕竟效率差距非常大。 关键是明白原理,然后需要自己手写实践一下,踩坑才行。 代码能力太差,需要多写代码提高。 树形数据结构可能用指针比较多吧。另外那些可以用指针写的数据结构就用指针写。毕竟效率高(可以装逼) 链表 阅读全文
posted @ 2017-12-21 20:57 baka 阅读(243) 评论(0) 推荐(0) 编辑
摘要: #include #include #define MAX 26 using namespace std; typedef struct TrieNode //Trie结点声明 { bool isStr; //标记该结点处是否构成单词 struct TrieNode *next... 阅读全文
posted @ 2017-12-17 22:25 baka 阅读(134) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 9 下一页