Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 24840 Accepted Submission(s): 9666 Problem Descri ...
分类:
其他好文 时间:
2018-10-01 00:11:39
阅读次数:
176
这题惨遭被卡。。卡了一个小时,太真实了。 题意与分析 (Codeforces 545C) 代码 cpp include define MP make_pair define PB push_back define fi first define se second define ZERO(x) me ...
分类:
其他好文 时间:
2018-10-01 00:07:30
阅读次数:
177
1,Atom One Dark Theme 2, Beautify 3, Bookmarks 4,Bracket Pair Colorizer 5,Code Runner 6,cssrem 7,ESLint 8,HTML CSS Support 9,HTML Snippets 10,language ...
分类:
其他好文 时间:
2018-09-30 20:03:22
阅读次数:
217
Pair_2测试与优化 211606302曾丽丽 211606303陈水莲 一、单元测试 测试思路 根据输入情况进行junit4测试,定义一个待测试的类,并且定义两个变量,一个用于存放参数,一个用于存放期待的结果。 注意测试要调用的方法应为public 类,否则调用会出错。 部分单元测试代码截图 单 ...
分类:
其他好文 时间:
2018-09-30 14:49:32
阅读次数:
188
题意与分析(CodeForces 540B) 代码 cpp include include include include define MP make_pair define PB push_back define fi first define se second define ZERO(x) ...
分类:
其他好文 时间:
2018-09-30 00:01:03
阅读次数:
257
题意与分析(CodeForces 540C) 代码 cpp include include include include include include define MP make_pair define PB push_back define fi first define se second ...
分类:
其他好文 时间:
2018-09-30 00:00:03
阅读次数:
209
题意与分析(CodeForces 540D) 代码 cpp include include include include include define MP make_pair define PB push_back define fi first define se second define ...
分类:
其他好文 时间:
2018-09-29 23:50:53
阅读次数:
184
vector numberOfLines(vector& widths, string S) { map MAP; MAP.insert(make_pair('a', widths[0])); MAP.insert(make_pair('b', widths[1])); MAP.insert(mak... ...
分类:
其他好文 时间:
2018-09-27 19:15:25
阅读次数:
152
int uniqueMorseRepresentations(vector& words) { map st; st.insert(make_pair('a', ".-")); st.insert(make_pair('b', "-...")); st.insert(make_pair('c', "... ...
分类:
其他好文 时间:
2018-09-27 14:16:38
阅读次数:
122
https://www.luogu.org/problemnew/show/P4755 考虑分治,在 [l, r] 区间中用线段树找到最大的一个点,处理经过它的可行数对的个数,统计个数可以离线树状数组处理 因为最多被分成 2n 个区间(像线段树一样),对于每个区间使用类似于启发式合并的思想将要处理的 ...
分类:
其他好文 时间:
2018-09-27 13:13:19
阅读次数:
170