Skip to content

Instantly share code, notes, and snippets.

View amitdu6ey's full-sized avatar
❄️
Chilling

Amit Dubey amitdu6ey

❄️
Chilling
View GitHub Profile
// [amitdu6ey]
// g++ -std=c++11 -o2 -Wall filename.cpp -o filename
#include <bits/stdc++.h>
#define hell 1000000009
#define bug1(x) cout<<":"<<x
#define bug2(x) cout<<":"<<x
#define bug3(x) cout<<"# "<<x<<" #"<<endl
#define ll long long
#define pb push_back
#define mp make_pair
@amitdu6ey
amitdu6ey / AKBAR.cpp
Last active February 13, 2019 18:32
Solution for AKBAR problem on spoj.
// [amitdu6ey]
// g++ -std=c++11 -o2 -Wall filename.cpp -o filename
#include <bits/stdc++.h>
#define hell 1000000009
#define bug1(x) cout<<"$ "<<x<<" $"<<endl
#define bug2(x) cout<<"% "<<x<<" %"<<endl
#define bug3(x) cout<<"# "<<x<<" #"<<endl
#define ll long long
#define pb push_back
#define mp make_pair