From 7c5258421f636dfd59721ea943902336d8b5387f Mon Sep 17 00:00:00 2001 From: mzuenni Date: Thu, 23 Feb 2023 18:31:24 +0100 Subject: improved template --- template/template.cpp | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'template') diff --git a/template/template.cpp b/template/template.cpp index 9ee3233..c40bcd5 100644 --- a/template/template.cpp +++ b/template/template.cpp @@ -1,18 +1,17 @@ #include using namespace std; - + #define fora(i, n) for (int i = 0; i < n; ++i) #define forb(i, n) for (int i = 1; i <= n; ++i) -#define all(x) begin(x), end(x) -#define sz(x) (ll)(x).size() +#define all(x) begin(x), end(x) +#define sz(x) (ll)size(x) #define _ << " " << #define debug(x) #x << " = " << (x) - + using ll = long long; using ld = long double; -using pii = std::pair; int main() { - std::ios::sync_with_stdio(false); - std::cin.tie(nullptr); -} + ios::sync_with_stdio(false); + cin.tie(nullptr); +} -- cgit v1.2.3