Skip to content

Instantly share code, notes, and snippets.

View sananth12's full-sized avatar
📵
I may be slow to respond.

Anantha Natarajan S sananth12

📵
I may be slow to respond.
View GitHub Profile
@sananth12
sananth12 / FastIO
Created July 21, 2014 10:38
Very fast IO C++
#include <cstdio>
#include <iostream>
using std::string;
static struct IO {
char tmp[1 << 10];
// fast input routines
char cur;
@sananth12
sananth12 / Hamiltion_paths
Created June 18, 2014 11:00
Number of Hamiltonion Paths
#include <vector>
#include <list>
#include <map>
#include <set>
#include <deque>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>