- 博客(8)
- 资源 (1)
- 收藏
- 关注
原创 【poj3320】Jessica's reading problem,解题报告+数据+代码
#include #include #include #include #include #include #include /* Problem : POJ3320-Jessica's reading problem; Begin Time: 27/2/2012 5:30 p.m. End Time: 29/2/2012 11:13 a.m La
2012-02-29 11:23:37 1449 1
原创 【POJ2255】Tree Recovery解题报告 思路 + 数据 +代码
#include #include #include #include using namespace std;/* Author: YuXun Lu Time:23rd/2/2012 Last Time:About 7 Hours Begin Time:Unknown End Time:Unknown Test Data: ABD
2012-02-27 00:03:17 663
原创 【HDU1272】小希的迷宫解题报告,数据+思路+代码
#include #include #include #include #define INPUTusing namespace std;/* Problem : HDU1272 - 小希的迷宫 State : 5421320 2012-02-26 23:40:14 Accepted 1272 62MS 1636K 3853 B G++ c0de4fun
2012-02-27 00:00:49 1715 1
原创 【poj3253】堆的应用
#include #include #include #include #define INPUTusing namespace std;const int MAXSIZE = 50010;bool comp1(int a,int b){ return a>b;}int main(){#ifdef INPUT freopen("b:\\acm\\poj325
2012-02-22 14:56:51 536
原创 【POJ2796】代码,非原创,参考的别人的文章
#include #include #include /* Reference:http://www.cnblogs.com/youngxiao/archive/2010/05/19/1739381.html.THX A LOT TO YOU. author:YuXun Lu(A.K.A Kyle Broflovlaski) problem:poj2796
2012-02-19 01:10:43 694
原创 【HDU2717】-Catch that cow
题目地址:http://acm.hdu.edu.cn/showproblem.php?pid=2717这点需要特别注意的是HDU特别坑爹,POJ上是单组数据,多点测试,HDU是一点测试,多组数据!所以在POJ上把while(cin >> N >> K)去掉也是AC的,简单的BFS#include #include #include #include #include
2012-02-16 20:35:45 767
原创 【ACM-POJ】poj2386,Lake Counting
#include #include //#define DBGusing namespace std;const int MAXSIZE = 10000;char map[MAXSIZE][MAXSIZE];int N,M;unsigned long LakeCounts;bool iFirstLake = true;bool iCounted = true;void dfs(
2012-02-14 21:25:37 883
原创 【poj】1363-Rails
#include #include #include const int MAXSIZE = 10000;using namespace std;int trains[MAXSIZE];int orders[MAXSIZE];int stacks[MAXSIZE];int top;int main(){// freopen("b:\\acm\\input.txt","r"
2012-02-13 21:03:50 791
简单搜索引擎的设计与实现
2012-01-02
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人