- Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtemplate.cpp
More file actions
Latest commit
21 lines (16 loc) · 570 Bytes
/
Copy pathtemplate.cpp
File metadata and controls
21 lines (16 loc) · 570 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include<bits/stdc++.h>
usingnamespacestd;
#define__ios_base::sync_with_stdio(0); cin.tie(0);
#defineendl'\n'
#defineforeach(it, x) for (__typeof (x).begin() it = (x).begin(); it != (x).end(); ++it)
#defineall(x) x.begin(),x.end()
#defineD(x) cout << #x " = " << (x) << endl;
template <classT> string toStr(const T &x)
{ stringstream s; s << x; return s.str(); }
template <classT> inttoInt(const T &x)
{ stringstream s; s << x; int r; s >> r; return r; }
int dx[8] = {-1,-1,-1,0,1,1, 1, 0};
int dy[8] = {-1, 0, 1,1,1,0,-1,-1};
intmain(){
return0;
}