Skip to content

Instantly share code, notes, and snippets.

View swapnil-warke's full-sized avatar
:octocat:
I may be slow to respond.

swapnil-warke

:octocat:
I may be slow to respond.
View GitHub Profile
/*
** id :template
** author : swap_coder
** time:
*/
#include<vector>
#include<algorithm>
#include<cstdio>
/*
** id :template
** author : swap_coder
** time:
*/
#include<vector>
#include<algorithm>
/*
** id :template
** author : swap_coder
** time:
*/
#include<vector>
#include<algorithm>
#include<cstdio>
/*
** id :uva 990
** author : swap_coder
** tm:
*/
#include<iostream>
#include<fstream>
#include<cstdio>
#include<cstring>
using namespace std;
#include<iostream>
#include<cstdio>
#include<cstring>
#include<limits>
using namespace std;
int dp[1024+3][1024+3];
int main()
{
int t,n,x,y,p,d;
/*
** id :template
** author : swap_coder
** time:
*/
#include<vector>
#include<algorithm>
#include<vector>
#include<algorithm>
#include<cstdio>
#include<cstring>
#include<cmath>
#include <iostream>
#include <map>
#include <queue>
#include <set>
@swapnil-warke
swapnil-warke / gist:5791834
Last active December 18, 2015 13:39
uva11799
#include<iostream>
using namespace std;
int main()
{
int n,t;
cin>>t;
while(t--)
{
cin>>n;
/*
** id :template
** author : swap_coder
** time:
*/
#include<vector>
#include<algorithm>
#include<cstdio>
@swapnil-warke
swapnil-warke / gist:5840229
Last active December 18, 2015 20:28
UVA836 not submitted ready to submit
#include<vector>
#include<algorithm>
#include<cstdio>
#include<cstring>
#include<cmath>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <string>