//ans=2*n+(n-1)(n-2) n>=2#include #include #include #include #include #include #include #include #include #include #include #include #include #include...
分类:
其他好文 时间:
2014-09-19 13:29:35
阅读次数:
188
D -Leapin' LizardsTime Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescriptionYour platoon of wandering lizards has entered a strange...
Problem地址:http://acm.hdu.edu.cn/showproblem.php?pid=1548一道简单的bfs,适合新手。你现在所在的电梯层为一个节点,而你从这个节点可以拜访另外两个节点(电梯向上走为一个节点,电梯向下走有一个节点),而拜访的时候自然也要避免拜访重复,否则会陷入死循...
分类:
其他好文 时间:
2014-09-17 23:08:12
阅读次数:
270
BalanceTime Limit:1000MSMemory Limit:30000KTotal Submissions:10660Accepted:6612DescriptionGigel has a strange "balance" and he wants to poise it. Actu...
分类:
其他好文 时间:
2014-09-04 18:52:59
阅读次数:
218
BalanceTime Limit:1000MSMemory Limit:30000KTotal Submissions:10655Accepted:6609DescriptionGigel has a strange "balance" and he wants to poise it. Actu...
分类:
其他好文 时间:
2014-09-03 22:33:17
阅读次数:
340
没啥好说的,注意一下,走过的楼层不能再走,否则会陷入循环
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
using namespace std;
#define maxn 210
in...
分类:
其他好文 时间:
2014-09-03 16:52:26
阅读次数:
230
原题http://acm.hdu.edu.cn/showproblem.php?pid=1548
A strange lift
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 11907 Accepted Submission...
分类:
其他好文 时间:
2014-09-02 10:30:04
阅读次数:
275
A strange liftTime Limit: 1000msMemory Limit: 32768KBThis problem will be judged onHDU. Original ID:154864-bit integer IO format:%I64d Java class name...
分类:
其他好文 时间:
2014-08-29 21:21:08
阅读次数:
278
1. 介绍 Welcome to part 0 of the article series about Catel. Quite a strange part, don’t you think? Well, we hear from a lot of people that the real pow...
分类:
其他好文 时间:
2014-08-23 17:38:31
阅读次数:
221
/* fuction:模拟ATM机存取功能 date:2014/8/20 by:zhouhaiou*/ #include #include #include int money=100000;void query();void transf();void welcome()//欢迎界面 { prin...
分类:
编程语言 时间:
2014-08-23 15:20:40
阅读次数:
460