版本比较
hwq202314
签名
增加 1 行删除 1 行
11I have forgotten all tragedies and see only miracles.OI 23.9.25/26.12.1 (RET) || I have forgotten all tragedies and see only miracles.个人介绍
增加 32 行删除 28 行
123456789106 行未改动1718192019212223242513 行未改动39404142414344434445464748454647484950515250515253545556575859606154555657585960616263646566676869706263646566676869707172737475767778175 行未改动全部展开3694404838
ESFJ-A
[Maybe my first record](https://ybt.ssoier.cn/status.php?showname=hwq202314&showpid=1001&showres=&showlang=)
[C++ 参考手册](https://zh.cppreference.com/w/%E9%A6%96%E9%A1%B5)
[Graph Editor](https://csacademy.com/app/graph_editor/)
6 行未改动[](https://codeforces.com/profile/hwq_qwh)
::::info[Template.cpp]```cpp#include <iostream>#include <bits/stdc++.h>
namespace Qwarth {
void main() {}13 行未改动}```::::
::::info[FastInput]::::info[FastIO]```cppstruct Input { template < typename T > inline Input operator>>(T &x) { int c = getchar(), f = 0; x = 0; while (~c && (c < 48 || c > 57)) { f |= c == '-', c = getchar(); } while (~c && (c > 47 && c < 58)) { x = (x << 1) + (x << 3) + (c & 15), c = getchar(); } return f ? x = -x, *this : *this;void read() {}template < typename A, typename... B >inline void read(A &x, B &...y) { int c = getchar(), f = 0; while (~c && (c < 48 || c > 57)) { f |= c == '-'; c = getchar(); }} cin;```:::: x = 0; while (~c && (c > 47 && c < 58)) { x = (x << 1) + (x << 3) + (c & 15); c = getchar(); } x = f ? -x : x; read(y...);}
::::info[Mint]```cppstruct mint { long long x; mint(long long x = 0) : x((x % MOD + MOD) % MOD) {} mint &operator+=(const mint a) { return ((x += a.x) >= MOD) ? x -= MOD, *this : *this; } mint &operator-=(const mint a) { return ((x += MOD - a.x) >= MOD) ? x -= MOD, *this : *this; } mint &operator*=(const mint a) { return (x *= a.x) %= MOD, *this; } mint operator+(const mint a) const { mint res(*this); return res += a; } mint operator-(const mint a) const { mint res(*this); return res -= a; } mint operator*(const mint a) const { mint res(*this); return res *= a; } mint pow(long long b) const { mint res(1), a(*this); while (b) { if (b & 1) { res *= a; } a *= a, b >>= 1; } return res; } mint inv() const { return pow(MOD - 2); } mint &operator/=(const mint a) { return (*this) *= a.inv(); } mint operator/(const mint a) const { mint res(*this); return res /= a; } friend std::ostream &operator<<(std::ostream &os, const mint &a) { os << a.x; return os; }};template < typename T >inline void write(T x, char c = '\n') { x = x < 0 ? putchar('-'), -x : x; char o[50]; int t = 0; do { o[t++] = x % 10 | 48; } while (x /= 10); do { putchar(o[--t]); } while (t); putchar(c);}```::::
::::info[Clang Format]175 行未改动全部展开奖项
增加 4 行删除 0 行
12342026 CSP-S 一等奖2025 CSP-J 一等奖2025 CSP-S 二等奖2024 CSP-J 二等奖