跳到正文

Qi_Aolang

1675593

Practice makes perfect! || 不拿6勾不改签

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

资料、奖项与版本

资料

编号
1675593
抓取

奖项

2025 CSP-J
二等奖

版本

  1. v5当前
  2. v4
  3. v3
  4. v2
更早的 1 个版本
  1. v1

17366519882
124860

通过

2025.7.2——通过满300

2025.10.24——通过满500

2026.8.5——通过满1k

签到

2025.7.7——连续签到50天

2026.8.22——连续签到100天

用户名

2026.1.5——首橙

2026.1.12——掉绿

2026.1.19——回橙

2026.7.12——首红

链接

我的题单
刷题题单

快读快出

C++
template<typename T> inline void read (T &x) {
    x = 0; char c; int sign = 1;
    do {c = getchar(); if (c == '-') sign = -1;} while (!isdigit(c));
    do {x = x * 10 + c - '0'; c = getchar();} while (isdigit(c));
    x *= sign;
}
inline void print (int n) {
    if (n < 0) {
        putchar('-');
        n = -n;
    }
    if (n < 10)
        putchar(n + '0');
    else {
  		print(n / 10);
  		putchar(n % 10 + '0');	
  	}
}
C++
template<typename T> inline void read (T &x) {
    x = 0; char c; int sign = 1;
    do {c = getchar_unlocked(); if (c == '-') sign = -1;} while (!isdigit(c));
    do {x = x * 10 + c - '0'; c = getchar_unlocked();} while (isdigit(c));
    x *= sign;
}
inline void print (int n) {
    if (n < 0) {
        putchar_unlocked('-');
        n = -n;
    }
    if (n < 10)
        putchar_unlocked(n + '0');
    else {
  		print(n / 10);
  		putchar_unlocked(n % 10 + '0');	
  	}
}