3981615493
Template
#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;
}{
"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"
}
}
接下来会采用每天打卡的模式激励我自己学习,虽然之前也做过一期但是没有坚持多久(所以就再来一次!