复制
计划
你若不想做,你会找个借口;你若想做,你会找个办法。
不打tetr:4d (start from 8/10)
26/8/27: 唉,今天中午因为听见厚朴观战grace_zhuzhu打tetr导致我最终还是上手了……,不过既然已经破了戒,那应该想办法修复才是啊,明天你必须忍耐,即使她还打,你也只许旁观,听见没?
- 26/8/28 好的你确实就是废物居然看wxz都能直接上手,呃,这样吧,就以后连看都别看了,免得因为看这个行为是出于自己然后滚雪球把自己滚没了
蓝题计划:
1d (start from 8/11) +0d 8/12-8/13 UNCOMPLETED (start from 8/14)
- 9/3 尝试清仓甩卖,4h未能读懂题解。
试图剽窃syj的API
老师说: sk-d12bf25bc5af477c80bfe789f04ce074
老师说:联网信息搜索
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
老师说:Bearer sk-u4ysk9jivrrPtiQfh8qWU2ydxGa78F40LA7CwSL4p2Jkmmfk
老师说:deepseek API: sk-d12bf25bc5af477c80bfe789f04ce074
老师说:联网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-09c585aaa3e94ba4b01dda9479966041
黑题祭
实用
娱乐
工作
- 洛谷题解格式化工具
- luogu.ac.cn题解格式化工具
- CS Academy Graph Editor
- Clash Verge Setup.exe ---> &proxy URL
- 运算符优先级
- 画图网站:
- https://anacc22.github.io/another_graph_editor/
- Open Code
模版
VSCode
[MSYS2 setup(备用)↓](https://mirrors.hust.edu.cn/msys2/distrib/x86_64/)
配置msys2:
(华中科技大学源):
sed -i "s#[https://mirror.msys2.org/#https://mirrors.hust.edu.cn/msys2/#g](https://mirror.msys2.org/#https://mirrors.hust.edu.cn/msys2/#g)" /etc/pacman.d/mirrorlist*
pacman -Sy --needed base-devel mingw-w64-ucrt-x86_64-toolchainpacman -S --needed base-devel mingw-w64-ucrt-x86_64-toolchainpath:
C:\msys64\ucrt64\bin
C:\Program Files (x86)\Dev-Cpp\MinGW64\bin
vscode配置
note.ms/petercodessnippet C++snippet
settings.json:
{
"C_Cpp.errorSquiggles": "disabled",
"workbench.iconTheme": "fira-code-material-minimal",
"editor.fontFamily": "fira-code-nerd, FiraCode Nerd Font, Consolas, 'Courier New', monospace",
"editor.fontLigatures": true,
"C_Cpp.default.compilerPath": "C:/msys64/ucrt64/bin/g++.exe"
}tasks.json:
{
"version": "2.0.0",
"tasks": [
{
"type": "cppbuild",
"label": "C/C++: g++.exe build active file",
"command": "C:/msys64/ucrt64/bin/g++.exe",
"args": [
"-fdiagnostics-color=always",
"-g",
"${file}",
"-o",
"${fileDirname}\\${fileBasenameNoExtension}.exe"
],
"options": {
"cwd": "C:/msys64/ucrt64/bin"
},
"problemMatcher": [
"$gcc"
],
"group": {
"isDefault": true,
"kind": "build"
},
"detail": "compiler: C:/msys64/ucrt64/bin/g++.exe"
}
]
}cpp.json
{
// Place your snippets for cpp here. Each snippet is defined under a snippet name and has a prefix, body and
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
// same ids are connected.
// Example:
// "Print to console": {
// "prefix": "log",
// "body": [
// "console.log('$1');",
// "$2"
// ],
// "description": "Log output to console"
// }
"basic": {
"prefix": "basic",
"body": [
"#include <bits/stdc++.h>\nusing namespace std;\ntypedef long long ll;",
"typedef pair<int, int> pii;\nconst int MOD = 1e9 + 7; // 998244353;",
"const int INF = 2e9; // const ll INF = 4e18",
"int main()\n{\n $0// freopen(\"${1:filename}.in\", \"r\", stdin);",
" // freopen(\"${1:filename}.out\", \"w\", stdout);\n // ios::sync_with_stdio(0);",
" // cin.tie(0);\n ;\n return 0;\n}"
],
"description": "basic",
"isFileTemplate": true
},
"Complex": {
"prefix": "Complex",
"body": [
"struct Complex {",
" double Re, Im;",
"};",
"Complex operator+(const Complex &A, const Complex &B) {return Complex{A.Re + B.Re, A.Im + B.Im};}",
"Complex operator-(const Complex &A, const Complex &B) {return Complex{A.Re - B.Re, A.Im - B.Im};}",
"Complex operator*(const Complex &A, const Complex &B) {return Complex{A.Re*B.Re-A.Im*B.Im, A.Re*B.Im+A.Im*B.Re};}",
"$0"
],
"description": "Complex number class, supports +,-, and *",
},
"Info": {
"description": "info of the file such as author, time, etc.",
"prefix": "info",
"body": [
"/**",
" * @author: peter_code",
" * @date: ${1:date}",
" * @brief: ${2:brief}",
"*/",
"$0"
]
},
"LSQXX": {
"description": "LSQXX",
"prefix": "lsqxx",
"body": [
"struct Edge {",
" int v, nxt;",
"} e[$1 << 1];",
"int head[N], tot;",
"void add_edge(int u, int v) {",
" ++tot;",
" e[tot] = Edge{v, head[u]};",
" head[u] = tot;",
"}",
],
},
}Dev C++
缺省源:
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
const int MOD = 1e9 + 7; // 998244353
const int INF = 2e9;
//const ll INF = 4e18;
int main()
{
//freopen(".in", "r", stdin);
//freopen(".out", "w", stdout);
//ios::sync_with_stdio(0);
//cin.tie(0);
;
return 0;
}编译设置:
-O2 -std=c++14 -Wall -static其他
收藏夹
https://www.luogu.com.cn/discuss/1201147
基础信息
- CSDN链接:peter_code
- 已学语言: , , ,
- 正在学习中:, ,
tetr.io进步记录
7/7 992.0m
大事祭
2023
??/?? U Sand,U Web
12/28 CodeForces Christmas(New Year) Magic!!! 正式成为短暂的黑红大佬!
2024
04/05 Infinite craft 首次发现!!! 什么运气!!!
05/16 估值!!!还有分就变橙了!
05/19 M Hornet掉M Ant & M Orange!!!(1 in 10,0000 chance)
05/20 520橙名祭!(估值:178)

05/22 干掉Leg Square获得Common Square(petal)!!!
05/?? U Hornet=>3M(1 in 1,000 chance)
07/02 8M Wing=>1U; 5M Missle=>1U; M Baby Ant drop 2M(M Light and M Rice); Mythic Fly drop 1M1L1E
07/04 完成Biologist兼Collector时抢到Super Soldier Ant获U Glass
07/12 Super Worker Ant drop 2m; Mythic Spider drop 2m; M TE drop OP
07/13 Mythic Beetle drop M Ahnk; Super Sandstorm两次刷脸
07/15 Ocean kill Mythic Square
07/16 Mythic Hel Wasp drop M Chip & M Missle
07/25 Ultra Sandstorm drop M Glass & M Sand
08/02 Ultra Leech drop U Faster
08/03 Super Starfish drop U Starfish
08/05 Ultra Beetle drop U Beetle Egg
08/07 Ultra Beetle drop 2M
08/10 Mythic Hel Spider drop 2L1M, which is Mythic TE
08/17 Ultra Hel Spider drop M Mark, Ultra Hel Wasp drop U Missle
08/18 Rolling in dough completed!!!
08/22 Mythic square greeded got C square
08/23 11M? Bulb = 1U



