This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
** id :template | |
** author : swap_coder | |
** time: | |
*/ | |
#include<vector> | |
#include<algorithm> | |
#include<cstdio> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
** id :template | |
** author : swap_coder | |
** time: | |
*/ | |
#include<vector> | |
#include<algorithm> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
** id :template | |
** author : swap_coder | |
** time: | |
*/ | |
#include<vector> | |
#include<algorithm> | |
#include<cstdio> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
** id :uva 990 | |
** author : swap_coder | |
** tm: | |
*/ | |
#include<iostream> | |
#include<fstream> | |
#include<cstdio> | |
#include<cstring> | |
using namespace std; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
** id :template | |
** author : swap_coder | |
** time: | |
*/ | |
#include<vector> | |
#include<algorithm> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<vector> | |
#include<algorithm> | |
#include<cstdio> | |
#include<cstring> | |
#include<cmath> | |
#include <iostream> | |
#include <map> | |
#include <queue> | |
#include <set> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<iostream> | |
using namespace std; | |
int main() | |
{ | |
int n,t; | |
cin>>t; | |
while(t--) | |
{ | |
cin>>n; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
** id :template | |
** author : swap_coder | |
** time: | |
*/ | |
#include<vector> | |
#include<algorithm> | |
#include<cstdio> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<vector> | |
#include<algorithm> | |
#include<cstdio> | |
#include<cstring> | |
#include<cmath> | |
#include <iostream> | |
#include <map> | |
#include <queue> | |
#include <set> | |
#include <string> |
OlderNewer