1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
| <snippet>
<content><![CDATA[
#include <cstdio>
#include <algorithm>
#define PROB "${TM_FILENAME/.cpp//}"
#define ONLINEJUDGE
using namespace std;
typedef long long LL;
const int INF = 1000000007;
const int maxn = 100005;
inline int getint() { int r = 0; bool b = true; char c = getchar(); while ('0' > c || c > '9') {if (c == '-') b = false; c = getchar();} while ('0' <= c && c <= '9') {r = (r<<3) + (r<<1) + (c-'0'); c = getchar();} if (b) return r; return -r; }
int main () {
#ifndef ONLINEJUDGE
freopen(PROB".in", "r", stdin); freopen(PROB".out", "w", stdout);
#endif
$1
fclose(stdin); fclose(stdout); return 0;
}
]]></content>
<tabTrigger>Hello</tabTrigger>
<description>init code for OI</description>
</snippet>
|