版本比较
GeorgeDeng
个人介绍
增加 46 行删除 10 行
3 行未改动4567891011121314121516171814192021222325 行未改动495051525354555657585960515261626364656618 行未改动858687888990919293949596979884859910010110210310427 行未改动13213313413513613713813914014114214314412514514614714814914 行未改动16416516616716816917017117217317417517617717815417918018118218312 行未改动19619719819920020120220320420520620720817920921021121221312 行未改动2262272282292302312322332342352362372382042392402412422432442452462472482492503 行未改动https://codeforces.com/blog/entry/156197https://www.luogu.com.cn/discuss/1380094https://www.luogu.com.cn/paste/kb8gptmrhttps://anacc22.github.io/another_graph_editor/
_divide et impera 分而治之_
# Cartesian Tree(笛卡尔树)上谁有序谁有 BST 性质!# Fenwick Tree 可以维护前缀 max!# 不要把错误的特殊性质放进正确的暴力# 不要死磕特殊性质# 最大值最小有限考虑二分!# 最大值最小优先考虑二分!# 永远不要相信大样例!对拍!# floyd 一定要 check min!---_No retreat is the raod to victory.__No retreat is the road to victory._
---_总是在失败时怀疑自己的运气,成功时认可自己的水平._
25 行未改动 "#define int long long", "#define endl '\\n'", "using namespace std;", "", "namespace solution{", " void main(){", " ${0}", " }", "}", "signed main()", "{", " ios::sync_with_stdio(false);", " cin.tie(0),cout.tie(0);", " ${0}", " cin.tie(0),cout.tie(0);", " solution::main();", " return 0;", "}", ], "description": "Commonly used"18 行未改动 "#define int long long", "#define endl '\\n'", "using namespace std;", "", "namespace solution{", " void main(){", " ${0}", " }", "}", "signed main()", "{", " freopen(\"$TM_FILENAME_BASE.in\",\"r\",stdin);", " freopen(\"$TM_FILENAME_BASE.out\",\"w\",stdout);", " ios::sync_with_stdio(false);", " cin.tie(0),cout.tie(0);", " ${0}", " cin.tie(0),cout.tie(0);", " solution::main();", " return 0;", "}" ], "description": "File I/O Fully"27 行未改动 "#define int long long", "#define endl '\\n'", "using namespace std;", "", "namespace solution{", " void main(){", " ${0}", " }", "}", "signed main()", "{", " ios::sync_with_stdio(false);", " cin.tie(0),cout.tie(0);", " ${0}", " solution::main();", " return 0;", "}" ], "prefix": ["start","include","quick","quick start"]14 行未改动 "#define int long long", "#define endl '\\n'", "using namespace std;", "", "namespace solution{", " void main(){", " ${0}", " }", "}", "signed main()", "{", " freopen(\"$TM_FILENAME_BASE.in\",\"r\",stdin);", " freopen(\"$TM_FILENAME_BASE.out\",\"w\",stdout);", " ios::sync_with_stdio(false);", " cin.tie(0),cout.tie(0);", " ${0}", " solution::main();", " return 0;", "}" ], "prefix": ["problem","cont","fully"]12 行未改动 "#include <iostream>", "#define int long long", "#define endl '\\n'", "", "namespace solution{", " void main(){", " ${0}", " }", "}", "signed main()", "{", " std::ios::sync_with_stdio(false);", " std::cin.tie(0),std::cout.tie(0);", " ${0}", " solution::main();", " return 0;", "}" ], "prefix": ["challenge","include challenge","quick challenge","quick start challenge"]12 行未改动 "#include <iostream>", "#define int long long", "using namespace std;", "", "namespace solution{", " void main(){", " ${0}", " }", "}", "signed main()", "{", " ios::sync_with_stdio(false);", " cin.tie(0),cout.tie(0);", " ${0}", " solution::main();", " return 0;", "}" ], "prefix": ["interaction","quick interaction"] }}
```---
号主 n(女)py:@[CJ2025](/user/1874888)。