跳到正文

闲话

vscode

zhangzongyue约 1 分钟
原文
文章信息与版本

文章信息

收录
2026年5月19日
更新
2026年5月19日
篇幅
约 1 分钟

版本

  1. v1当前
C++
{
	"Print to console": {
		"prefix": "cpp",
		"body": [
			"#include<bits/stdc++.h>",
			"#define ll long long",
			"using namespace std;",
			"template<typename T>void in(T &x){",
			"    int f=1;char c=getchar();",
			"    while((c<'0'||c>'9')&&c!='-') c=getchar();",
			"    if(c=='-'){c=getchar();f=-1;}",
			"    for(x=0;c>='0'&&c<='9';c=getchar()) x=x*10+c-'0';",
			"    x*=f;",
			"}",
			"const int N=0;",
			"int main(){",
			"    freopen(\".in\",\"r\",stdin);",
			"    freopen(\".out\",\"w\",stdout);",
			"    return 0;",
			"}",
		],
		"description": "0"
	}
}
原文