Skip to content

Instantly share code, notes, and snippets.

View Adefful's full-sized avatar
🏠
Working from home

Zadorozhny Pavel Adefful

🏠
Working from home
View GitHub Profile
@Adefful
Adefful / Olympiad_programming_Snippet.cpp
Last active March 14, 2021 14:54
Olympiad programming Snippet (Сниппет для олимпиадного, спортивного программирования)
#include <bits/stdc++.h>
using namespace std;
#define INF INT_MAX
#define INFLL LONG_LONG_MAX
#define F first
#define S second
#define pb push_back
#define all(a) a.begin(),a.end()
#define rep(i,a,b) for(auto i=(a); i<(b); i++)
#define dec(i,n,a) for(auto i=(n); i>=(a); i--)