签名
增加 1 行删除 1 行
1I have forgotten all tragedies and see only miracles.1OI 23.9.25/26.12.1 (RET) || I have forgotten all tragedies and see only miracles.
个人介绍
增加 32 行删除 28 行
123456786 行未改动15161718192021222313 行未改动3738394041424344454647484950515253545556575859606162636465666768697071727374175 行未改动全部展开3694404838ESFJ-A[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>namespace Qwarth {void main() {}13 行未改动}```::::::::info[FastInput]```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;}} cin;```::::::::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; }};```::::::::info[Clang Format]175 行未改动全部展开123456789106 行未改动17181920212223242513 行未改动39404142434445464748495051525354555657585960616263646566676869707172737475767778175 行未改动全部展开3694404838ESFJ-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 <bits/stdc++.h>namespace Qwarth {void main() {}13 行未改动}```::::::::info[FastIO]```cppvoid 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();}x = 0;while (~c && (c > 47 && c < 58)) {x = (x << 1) + (x << 3) + (c & 15);c = getchar();}x = f ? -x : x;read(y...);}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 二等奖