<snippet> <content> <![CDATA[ #pragma comment(linker, "/STACK:1024000000,1024000000") #include <stdio.h> #include <iostream> #include <cstdlib> #include <cmath> #include <cctype> #include <string> #include <cstring> #include <algorithm> #include <stack> #include <queue> #include <set> #include <map> #include <ctime> #include <vector> #include <fstream> #include <list> #include <iomanip> #include <numeric> using namespace std; typedef long long ll; typedef unsigned long long ull; #define ms(s) memset(s, 0, sizeof(s)) const int inf = 0x3f3f3f3f; #define LOCAL
int main(int argc, char * argv[]) { #ifdef LOCAL freopen("/Users/huangjiaming/Documents/Algorithm/oj/data.in", "r", stdin); //freopen("/Users/huangjiaming/Documents/Algorithm/oj/data.out", "w", stdout); #endif
${1:/* code */}
while (~scanf("%d", ${2:/* var */})) { }
return 0; }]]> </content> <!-- Optional: Set a tabTrigger to define how to trigger the snippet --> <tabTrigger>acm</tabTrigger> <!-- Optional: Set a scope to limit where the snippet will trigger --> <scope>source.c++</scope> </snippet>