This file contains hidden or 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
/************************************************************************* | |
> File Name: hdu4267.cpp | |
> Author: ALex | |
> Mail: zchao1995@gmail.com | |
> Created Time: 2015年02月25日 星期三 18时37分15秒 | |
************************************************************************/ | |
#include <map> | |
#include <set> | |
#include <queue> |
This file contains hidden or 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
/************************************************************************* | |
> File Name: d.cpp | |
> Author: ALex | |
> Mail: zchao1995@gmail.com | |
> Created Time: 2015年01月31日 星期六 14时03分50秒 | |
************************************************************************/ | |
#include <map> | |
#include <set> | |
#include <queue> |
This file contains hidden or 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
bool vis[N]; | |
int lowcost[N]; | |
int pre[N]; | |
int F[N][N]; | |
int edge[N][N]; | |
bool used[N][N]; | |
int prim(int n) | |
{ |
This file contains hidden or 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
/************************************************************************* | |
> File Name: cfd.cpp | |
> Author: ALex | |
> Mail: 405045132@qq.com | |
> Created Time: 2015年01月22日 星期四 23时10分44秒 | |
************************************************************************/ | |
#include <map> | |
#include <set> | |
#include <queue> |
This file contains hidden or 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
/************************************************************************* | |
> File Name: hdu1542.cpp | |
> Author: ALex | |
> Mail: 405045132@qq.com | |
> Created Time: 2015年01月15日 星期四 11时13分38秒 | |
************************************************************************/ | |
#include <map> | |
#include <set> | |
#include <queue> |
This file contains hidden or 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
/************************************************************************* | |
> File Name: cf285c.cpp | |
> Author: ALex | |
> Mail: 405045132@qq.com | |
> Created Time: 2015年01月12日 星期一 17时41分31秒 | |
************************************************************************/ | |
#include <map> | |
#include <set> | |
#include <queue> |
This file contains hidden or 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 <map> | |
#include <set> | |
#include <list> | |
#include <queue> | |
#include <stack> | |
#include <vector> | |
#include <cmath> | |
#include <cstdio> | |
#include <cstring> | |
#include <iostream> |
This file contains hidden or 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
/************************************************************************* | |
> File Name: sudoku.cpp | |
> Author: ALex | |
> Mail: 405045132@qq.com | |
> Created Time: 2015年01月06日 星期二 14时46分52秒 | |
************************************************************************/ | |
#include <map> | |
#include <set> | |
#include <queue> |
NewerOlder