随笔分类 - Codeforce
摘要:D. Xenia and Bit Operationstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard output D. Xenia and Bit Ope
阅读全文
摘要:题目大意, 就是给你几种操作,添加, 删除,查询 裸的字典树题目.. #include <algorithm> #include <stack> #include <istream> #include <stdio.h> #include <map> #include <math.h> #inclu
阅读全文
摘要:恢复内容开始 A. Statues time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output A. Statues time limit
阅读全文
摘要:///比赛想了好长时间的最大子矩阵...出来看看题解才懂,自己真蠢= =
阅读全文
摘要:' 1 对树后序遍历一遍,s【i】里存的是结点i上所有子树结点权值和(包括这个结点,但不包括那些已经切去的结点) 从叶子往上遍历,当s【i】等于sum/3时,就在这个点切,当切去两个部分之后就不切了,最后看看剩下的部分等不等于sum/3就行了 上代码了 QAQ
阅读全文
摘要:orz ,感觉一道很傻的模拟题,因为细节wa了好多回啊....感觉自己今天写的代码带毒... #include <stdio.h> #include <stack> #include <istream> #include <map> #include <math.h> #include <strin
阅读全文
摘要: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
阅读全文

浙公网安备 33010602011771号