Skip to content

Commit 2b64b63

Browse files
committed
Update template.cpp
1 parent 296062a commit 2b64b63

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

template.cpp

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
#include<bits/stdc++.h>
22
using namespace std;
33
#define __ ios_base::sync_with_stdio(0); cin.tie(0);
4-
54
#define endl '\n'
6-
#define fr(i,j,n) for(int i=j;i<n;i++)
7-
#define FR(i,n) fr(i,0,n)
8-
#define foreach(it, x) for(typeof (x).begin() it = (x).begin(); it != (x).end(); ++it)
5+
#define foreach(it, x) for (__typeof (x).begin() it = (x).begin(); it != (x).end(); ++it)
96
#define all(x) x.begin(),x.end()
107
#define D(x) cout << #x " = " << (x) << endl;
118

@@ -18,10 +15,6 @@ template <class T> int toInt(const T &x)
1815
int dx[8] = {-1,-1,-1,0,1,1, 1, 0};
1916
int dy[8] = {-1, 0, 1,1,1,0,-1,-1};
2017

21-
typedef long long ll;
22-
typedef vector<int> vi;
23-
typedef pair<int,int> pii;
24-
2518
int main(){
2619

2720
return 0;

0 commit comments

Comments
 (0)