跳到正文

Chaser_of_light

1368914

あの、あなたがいるだけでいいよ♡~(>᎑<๑)

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

资料、奖项与版本

资料

编号
1368914
抓取

奖项

2024 CSP-J
二等奖
230 分 · 第 8641 名

版本

  1. v4当前
  2. v3
  3. v2
  4. v1

3981615493

some website
Template
C++
#include <bits/stdc++.h>
#define debug puts("-1")
#define il inline
#define int long long
#ifdef int
#define inf 0x3f3f3f3f3f3f3f3f
#else
#define inf 0x3f3f3f3f
#endif
#define db double
#define fir first
#define sec second
#define pb push_back
#define pii pair<int, int>
#define max(a, b) (a > b ? a : b)
#define min(a, b) (a < b ? a : b)
#define ulp(i, a, b) for (int i = a; i <= b; ++i)
#define dlp(i, a, b) for (int i = a; i >= b; --i)
#define mod 1000000007
#define Zero (void)0
#define ci const int &
#define lowbit(x) (x & (-x))
using namespace std;

int read() {
    int num = 0;
    bool f = 0;
    char c = getchar();
    while (!isdigit(c)) {
        if (c == '-') f = 1;
        c = getchar();
    }
    while (isdigit(c)) num = (num << 3) + (num << 1) + (c ^ 48), c = getchar();
    return f ? -num : num;
}

void write(int x, char ed = ' ') {
    if (x < 0) {
        putchar('-');
        x = -x;
    }
    int stk[55], top = 0;
    do {
        stk[++top] = x % 10;
        x /= 10;
    } while (x);
    while (top) putchar(stk[top--] + '0');
    putchar(ed);
}

signed main() {
    
    return 0;
}
JSON
{
    "C++ Default Source": {
        "prefix": "hanser",
        "body": [
            "#include <bits/stdc++.h>",
            "#define debug puts(\"-1\")",
            "#define il inline",
            "#define int long long",
            "#ifdef int",
            "#define inf 0x3f3f3f3f3f3f3f3f",
            "#else",
            "#define inf 0x3f3f3f3f",
            "#endif",
            "#define db double",
            "#define fir first",
            "#define sec second",
            "#define pb push_back",
            "#define pii pair<int, int>",
            "#define max(a, b) (a > b ? a : b)",
            "#define min(a, b) (a < b ? a : b)",
            "#define ulp(i, a, b) for (int i = a; i <= b; ++i)",
            "#define dlp(i, a, b) for (int i = a; i >= b; --i)",
            "#define mod 1000000007",
            "#define Zero (void)0",
            "#define ci const int &",
            "#define lowbit(x) (x & (-x))",
            "using namespace std;",
            "",
            "int read() {",
            "    int num = 0;",
            "    bool f = 0;",
            "    char c = getchar();",
            "    while (!isdigit(c)) {",
            "        if (c == '-') f = 1;",
            "        c = getchar();",
            "    }",
            "    while (isdigit(c)) num = (num << 3) + (num << 1) + (c ^ 48), c = getchar();",
            "    return f ? -num : num;",
            "}",
            "",
            "void write(int x, char ed = ' ') {",
            "    if (x < 0) {",
            "        putchar('-');",
            "        x = -x;",
            "    }",
            "    int stk[55], top = 0;",
            "    do {",
            "        stk[++top] = x % 10;",
            "        x /= 10;",
            "    } while (x);",
            "    while (top) putchar(stk[top--] + '0');",
            "    putchar(ed);",
            "}",
            "",
            "signed main() {",
            "    $1",
            "    return 0;",
            "}"
        ],
        "description": "C++ default template"
    }
}

接下来会采用每天打卡的模式激励我自己学习,虽然之前也做过一期但是没有坚持多久(所以就再来一次!