//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 的格式要求是 "插入 [该代码片段的中文名]"

{
    "组合数": {
        "prefix": "acm-7.2n^2递推",
        "body": [
            "#include<cstdio>",
            "#define LL long long",
            "#define Re register int",
            "using namespace std;",
            "const int N=1003,P=998244353;",
            "int C[N][N];",
            "inline void get_C(Re N){",
            "\tfor(Re i=0;i<=N;++i)C[0][i]=C[i][i]=1;",
            "\tfor(Re i=1;i<=N;++i)",
            "\t\tfor(Re j=1;j<i;++j)",
            "\t\t\tC[j][i]=(C[j-1][i-1]+C[j][i-1])%P;",
            "}",
            "int main(){}",
            ""
        ],
        "description": "插入 组合数"
    }
}