跳到正文

个人记录

老师救我

_Ascent_约 3 分钟
原文

这是 2026年11月7日 存档的第 2 版,不是当前版本。查看当前版本

文章信息与版本

文章信息

发布
2026年10月2日
收录
2026年10月2日
更新
2026年11月21日
篇幅
约 3 分钟

版本

  1. v3当前
  2. v2
  3. v1
C++
/**
 * @file   main.cpp
 * @author [Your Name]
 * @brief  [Problem Name] - [OJ Link]
 * @date   2026-11-07
 */

#include <bits/stdc++.h>
using namespace std;

// ==================== 类型别名 ====================
using ll  = long long;
using ull = unsigned long long;
using pii = pair<int, int>;
using pll = pair<ll, ll>;
using vi  = vector<int>;
using vll = vector<ll>;

// ==================== 常量 ====================
constexpr int  INF  = 0x3f3f3f3f;
constexpr ll   LINF = 0x3f3f3f3f3f3f3f3fLL;
constexpr int  MOD  = 1e9 + 7;
constexpr double EPS = 1e-9;

// ==================== 宏 ====================
#define all(x)  (x).begin(), (x).end()
#define rall(x) (x).rbegin(), (x).rend()
#define pb      push_back
#define eb      emplace_back
#define fi      first
#define se      second
#define sz(x)   (int)(x).size()

// ==================== 快速 IO ====================
inline void fast_io() {
    ios::sync_with_stdio(false);
    cin.tie(nullptr);
    cout.tie(nullptr);
}

// ==================== 常用函数 ====================
template <typename T>
inline T gcd(T a, T b) { return b ? gcd(b, a % b) : a; }

template <typename T>
inline T lcm(T a, T b) { return a / gcd(a, b) * b; }

template <typename T>
inline T qpow(T a, ll b, T mod = MOD) {
    T res = 1;
    a %= mod;
    while (b) {
        if (b & 1) res = res * a % mod;
        a = a * a % mod;
        b >>= 1;
    }
    return res;
}

// ==================== 主函数 ====================
void solve() {
    // 在此编写题解逻辑
}

int main() {
    fast_io();
    int t = 1;
    cin >> t;  // 多组数据时取消注释
    while (t--) {
        solve();
    }
    return 0;
}