随笔分类 -  Codeforce

摘要:D. Xenia and Bit Operationstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard output D. Xenia and Bit Ope 阅读全文
posted @ 2018-07-29 00:00 Xzavieru 阅读(377) 评论(0) 推荐(0)
摘要:题目大意, 就是给你几种操作,添加, 删除,查询 裸的字典树题目.. #include <algorithm> #include <stack> #include <istream> #include <stdio.h> #include <map> #include <math.h> #inclu 阅读全文
posted @ 2018-07-26 08:33 Xzavieru 阅读(265) 评论(0) 推荐(0)
摘要:恢复内容开始 A. Statues time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output A. Statues time limit 阅读全文
posted @ 2018-07-21 18:37 Xzavieru 阅读(252) 评论(0) 推荐(0)
摘要:///比赛想了好长时间的最大子矩阵...出来看看题解才懂,自己真蠢= = 阅读全文
posted @ 2018-06-10 23:05 Xzavieru 阅读(105) 评论(0) 推荐(0)
摘要:' 1 对树后序遍历一遍,s【i】里存的是结点i上所有子树结点权值和(包括这个结点,但不包括那些已经切去的结点) 从叶子往上遍历,当s【i】等于sum/3时,就在这个点切,当切去两个部分之后就不切了,最后看看剩下的部分等不等于sum/3就行了 上代码了 QAQ 阅读全文
posted @ 2018-05-30 15:13 Xzavieru 阅读(178) 评论(0) 推荐(0)
摘要:orz ,感觉一道很傻的模拟题,因为细节wa了好多回啊....感觉自己今天写的代码带毒... #include <stdio.h> #include <stack> #include <istream> #include <map> #include <math.h> #include <strin 阅读全文
posted @ 2018-04-03 22:47 Xzavieru 阅读(194) 评论(0) 推荐(0)
摘要:A. Accounting time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output A. Accounting time limit p 阅读全文
posted @ 2018-03-18 11:47 Xzavieru 阅读(223) 评论(0) 推荐(0)