2018年3月25日

摘要: 合唱团 地牢逃脱 思路: 看了牛客网的toraoh大神的题解,才明白这道题,emmm...不是a56爆大奖在线娱乐一开始想的那个意思。而是起始点到终点的距离都是最短路径,只不过这个终点不定,想知道去哪个终点的最短路径最大,Max(Min),要这个最大的路径值。 a56爆大奖在线娱乐思路就是,通过BFS搜索去a56爆大奖在线娱乐点的最短路径,涉及到D 阅读全文
posted @ 2018-03-25 16:11 lpt 阅读(216) 评论(0) 推荐(0) 编辑

2014年12月4日

摘要: 题目: 现在,11.11在大学生活中是个特殊的日子,很多学校都把它当成男生节,作为师姐,LPT也想给师弟发下福利,可是师弟那么多,如何发?于是她想了一个点子,可以出一道数学题考考师弟们,前三位AC这道题的师弟就可以得到小礼物啦! 有一组数列,它有n+2个元素,a[0],a[1], ..., a[... 阅读全文
posted @ 2014-12-04 21:53 lpt 阅读(244) 评论(3) 推荐(0) 编辑

2014年11月30日

摘要: Friday the ThirteenthIs Friday the 13th really an unusual event?That is, does the 13th of the month land on a Friday less often than on any other day ... 阅读全文
posted @ 2014-11-30 10:09 lpt 阅读(195) 评论(0) 推荐(0) 编辑
 
摘要: Greedy Gift GiversA group of NP (2 ≤ NP ≤ 10) uniquely named friends has decided to exchange gifts of money. Each of these friends might or might not ... 阅读全文
posted @ 2014-11-30 10:06 lpt 阅读(230) 评论(0) 推荐(0) 编辑
 
摘要: === 1 /* 2 ID: luopengting 3 PROG: ride 4 LANG: C++ 5 */ 6 #include 7 #include 8 #include 9 #include 10 using namespace std;11 const int Mod = 47;1... 阅读全文
posted @ 2014-11-30 09:57 lpt 阅读(209) 评论(0) 推荐(0) 编辑

2014年11月3日

摘要: ================Cycling Roads================DescriptionWhen Vova was in Shenzhen, he rented a bike and spent most of the time cycling around the city... 阅读全文
posted @ 2014-11-03 11:56 lpt 阅读(182) 评论(0) 推荐(0) 编辑

2014年10月27日

摘要: SQL Server安装真的遇到好多问题啊!! 于是就决定写个备忘,方便自己也方便别人。 1.下载安装包 2.打开安装包,就遇到了restart computer 那里failed的错误,导致无法继续,一开始以为安装包的问题,后来查了下才发现不是,动作如下: 开始 —> 运行regedit —... 阅读全文
posted @ 2014-10-27 02:06 lpt 阅读(286) 评论(0) 推荐(0) 编辑

2014年10月17日

摘要: 题目链接,点击一下Round#273 Div.2==================problem AInitial Bet==================很简单,打了两三场的cf第一次在10分钟内过题判平均数,且注意b为正 1 #include 2 using namespace std; 3... 阅读全文
posted @ 2014-10-17 09:25 lpt 阅读(209) 评论(0) 推荐(0) 编辑

2014年10月14日

摘要: ==================poj 2318TOYS==================Time Limit:2000MSMemory Limit:65536KTotal Submissions:10660Accepted:5125DescriptionCalculate the numbe... 阅读全文
posted @ 2014-10-14 00:14 lpt 阅读(153) 评论(0) 推荐(0) 编辑

2014年10月3日

摘要: 来自九野大神的博#include #include #include #include #include using namespace std;const double EPS = 1e-9;const int MAXN = 40;struct Point3 //空间点{ double x... 阅读全文
posted @ 2014-10-03 17:16 lpt 阅读(204) 评论(0) 推荐(0) 编辑