Dev-c++
缺省源
/*
Luogu name: Symbolize
Luogu uid: 672793
*/
#include<bits/stdc++.h>
#define int long long
#define pii pair<int,int>
#define x first
#define y second
#define rep1(i,l,r) for(register int i=l;i<=r;++i)
#define rep2(i,l,r) for(register int i=l;i>=r;--i)
#define rep3(i,x,y,z) for(register int i=x[y];~i;i=z[i])
#define rep4(i,x) for(auto i:x)
#define debug() puts("----------")
const int N=1e5+10;
const int inf=0x3f3f3f3f3f3f3f3f;
using namespace std;
int read()
{
int x=0,f=1;
char ch=getchar();
while(ch<'0'||ch>'9')
{
if(ch=='-') f=-1;
ch=getchar();
}
while(ch>='0'&&ch<='9')
{
x=(x<<1)+(x<<3)+(ch^48);
ch=getchar();
}
return f*x;
}
signed main()
{
// freopen(".in","r",stdin);
// freopen(".out","w",stdout);
return 0;
}编译环境
-std=c++14 -O2 -Wl,--stack=10000000000
VSCode
缺省源
"/*",
" Luogu name: Symbolize",
" Luogu uid: 672793",
"*/",
"#include<bits/stdc++.h>",
"#define int long long",
"#define pii pair<int,int>",
"#define x first",
"#define y second",
"#define rep1(i,l,r) for(register int i=l;i<=r;++i)",
"#define rep2(i,l,r) for(register int i=l;i>=r;--i)",
"#define rep3(i,x,y,z) for(register int i=x[y];~i;i=z[i])",
"#define rep4(i,x) for(auto i:x)",
"#define debug() puts(\"----------\")",
"const int N=1e5+10;",
"const int inf=0x3f3f3f3f3f3f3f3f;",
"using namespace std;",
"",
"int read()",
"{",
" int x=0,f=1;",
" char ch=getchar();",
" while(ch<'0'||ch>'9')",
" {",
" if(ch=='-') f=-1;",
" ch=getchar();",
" }",
" while(ch>='0'&&ch<='9')",
" {",
" x=(x<<1)+(x<<3)+(ch^48);",
" ch=getchar();",
" }",
" return f*x;",
"}",
"signed main()",
"{",
"// freopen(\".in\",\"r\",stdin);",
"// freopen(\".out\",\"w\",stdout);",
"",
" return 0;",
"}",