shanirez-style
ShanireZ's personal C++ competitive-programming / online-judge coding style. Use whenever the user wants C++ for an algorithm or online-judge problem — pasting a problem statement ("题目如下, 帮我分析解决", "帮我完成这道题", "帮我写题解 / 给出完整代码"), naming a judge problem id (Luogu P*/B*, CodeForces CF*, LOJ #*, PAT, AtCoder ABC*/ARC*/AGC*, SPOJ SP*, UVa UVA*), or asking to write, debug, optimize, or refactor an existing .cpp in the OJCode workspace. Read this first so the code matches the author's own hand (Allman braces, 4-space, no blank lines, 1-based, global state, terse names, endl, explicit long long, // TAG line). Do NOT use for general-purpose C++ engineering (GUI/Qt apps, servers/networking, embedded, build systems, library/API design, business-logic debugging) or for non-C++ tasks — those are not OJCode solutions.