//Place your snippets for cpp here. Each snippet is defined under a snippet name and has a prefix, body and 
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the 
// same ids are connected.
// prefix 的格式要求是 acm-[一级标题编号].[二级标题编号][该代码片段的英文简称]
// description 的格式要求是 "插入 [该代码片段的中文名]"

{
    "data": {
        "prefix": "acm-1.4fu",
        "body": [
            "#include<bits/stdc++.h>",
            "#define LL long long",
            "#define Re register LL",
            "using namespace std;",
            "const LL inf=1000,N=20;",
            "LL vis[inf+5];char A[N+5],B[N+5];",
            "inline LL fu(){return rand()%2?-1:1;}",
            "inline LL Rand(LL L,LL R){",
            "\tLL a=R-L+1;",
            "\tLL b=(LL)rand()*rand()%a+1;",
            "\tb=b*rand()%a+1;",
            "\tb=b*rand()%a+1;",
            "\tb=b*rand()%a+1;",
            "\tb=b*rand()%a+1;",
            "\treturn L+b-1;",
            "}",
            "LL lo[N],tp[N];",
            "int main(){",
            "//\tfreopen(\"data.in\",\"w\",stdout);",
            "\tsrand(time(0));",
            "\tRe n=rand()%N+1;",
            "\tprintf(\"%lld 0\\n\",n);",
            "\tfor(Re i=1;i<=n;++i)printf(\"%lld \",Rand(1,inf));",
            "}",
            ""
        ],
        "description": "插入 data"
    }
}