随笔分类 -  以前未分类杂项

摘要:今天坑爹的安装了几个补丁,然后就提醒我要预订win10了。。桌面右下角都多了一个“获取Windows10”的图标,而且没有任何可以关闭推送通知、去掉图标的选项。。而且看了下c盘,也好像多了三四G东西,估计是自动下载了win10安装包1、关闭"获取win10"图标KB3035583补丁是Windows... 阅读全文
posted @ 2016-06-21 22:00 maplefighting 阅读(168) 评论(0) 推荐(0)
摘要:慢慢poj也磨到100了==,简直太弱了。。 阅读全文
posted @ 2016-04-28 23:50 maplefighting 阅读(109) 评论(0) 推荐(0)
摘要:题目名称:First One题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5358题意:计算原题中的式子1.思路:先用sum数组记录a[i] 的前缀和,顺便计算 1*( i + j ) 部分,即 i 算了(n-i+1)次再加上 i +(i+1)+...... 阅读全文
posted @ 2015-08-08 17:07 maplefighting 阅读(272) 评论(0) 推荐(1)
摘要:题目名称:Average题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5353题意:有n个soda围着坐在一张圆桌旁,第 i 个soda和第 i+1个相邻,每两个相邻的soda x, y 能做一下三个操作中的一个,并且只能操作一次:1 、x给y一个糖... 阅读全文
posted @ 2015-08-07 15:14 maplefighting 阅读(158) 评论(0) 推荐(0)
摘要:题目名称:MZL's Border题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5351题意:给出fib 1 = b,fib2 = a ; fib i = fib i-1 fib i-2 ,这个递推关系,例如,fib 3 = ab,fib 4 = ab... 阅读全文
posted @ 2015-08-04 17:42 maplefighting 阅读(138) 评论(0) 推荐(0)
摘要:题目名称:Silver Cow Party题目链接:http://poj.org/problem?id=3268题意:有n个农场和m条单向的路和每条路通过所要的时间,除X外其他农场的牛都来X农场开party,结束都各自回家,问所有牛各自所花最短时间中 那个最大的时间是多少思路:先正着求最短路然后再反... 阅读全文
posted @ 2015-08-03 15:08 maplefighting 阅读(205) 评论(0) 推荐(0)
摘要:题目名称:Heavy Transportation题目链接:http://poj.org/problem?id=1797题意:有n座城市和m条道路,每条道路都有一个承重量,问从1 -> n 的最大承重量,也就是所有通路中 每条通路的最小承重量 的最大值。代码如下:#include#include#... 阅读全文
posted @ 2015-08-03 10:39 maplefighting 阅读(138) 评论(0) 推荐(0)
摘要:题目名称:Frogger题目链接:http://poj.org/problem?id=2253题意:给出两只青蛙的坐标A,B,和其他n-2个坐标,任两个坐标之间都是两两双向连通的,每个距离就是每条边的距离,现在要求求出所有通路中每条通路的最大距离,并把这些通路的最大距离作比较,把最小的一个最大距离作... 阅读全文
posted @ 2015-08-03 09:51 maplefighting 阅读(115) 评论(0) 推荐(0)
摘要:题目名称:Til the Cows Come Home题目链接:http://poj.org/problem?id=2387题意:有N个点,T条边,问从1->N的最短路径注意:INF不能设置太大,因为加法时可能溢出变负数,所以设为比最大值大一点就行,如10条最大1000的边则设置为10*1000+1... 阅读全文
posted @ 2015-07-28 11:27 maplefighting 阅读(140) 评论(0) 推荐(0)
摘要:题目名称:Fire Game题目链接:http://acm.fzu.edu.cn/problem.php?pid=2150题意:给出一个m*n的图,‘#’表示草坪,‘ . ’表示空地,然后可以选择在任意的两个草坪格子点火,火每秒会向周围四个格子扩散,问选择那两个点使得燃烧所有的草坪花费时间最小?思路... 阅读全文
posted @ 2015-07-25 11:26 maplefighting 阅读(151) 评论(0) 推荐(0)
摘要:题目名称:Fire!题目链接:https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=2671题意:joe在一个迷宫里,有地方着火,火的蔓延方向是上下左右,每次一格... 阅读全文
posted @ 2015-07-25 11:01 maplefighting 阅读(192) 评论(0) 推荐(0)
摘要:题目名称:Friends题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5305题意:给定n个人,m对朋友关系,朋友关系可以选择online聊天,也可以选择offline,对于每个人,他选择的online和offline的朋友相同(比如拥有x个onlin... 阅读全文
posted @ 2015-07-23 21:11 maplefighting 阅读(142) 评论(0) 推荐(0)
摘要:题目名称:Oil Deposits题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1241Problem DescriptionThe GeoSurvComp geologic survey company is responsible for dete... 阅读全文
posted @ 2015-07-22 16:46 maplefighting 阅读(132) 评论(0) 推荐(0)
摘要:题目名称:Pots题目链接:http://poj.org/problem?id=3414题意:给出了两个瓶子的容量A,B, 以及一个目标水量C,对A、B可以有如下操作:FILL(i) 将瓶 i 倒满水;DROP(i) 将瓶 i 倒空;POUR(i,j) 将瓶 i 的水倒到瓶... 阅读全文
posted @ 2015-07-22 16:37 maplefighting 阅读(155) 评论(0) 推荐(0)
摘要:题目名称:Shuffle'm Up题目链接:http://poj.org/problem?id=3087题意:有两堆扑克 S1 ,S2,牌数均为C,将它们 一张S1一张S2 交叉合成一堆S12(如原图),然后把S12分为上下两堆,各为C,把下面那堆给S12,上面给S2现在输入S1和S2的初始状态 以... 阅读全文
posted @ 2015-07-22 16:09 maplefighting 阅读(173) 评论(0) 推荐(0)
摘要:题目名称:Prime Path 题目链接:http://poj.org/problem?id=3126 Description The ministers of the cabinet were quite upset by the message from the Chief of Securit 阅读全文
posted @ 2015-07-22 15:17 maplefighting 阅读(113) 评论(0) 推荐(0)
摘要:题目名称:OO’s Sequence 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5288 Problem Description OO has got a array A of size n ,defined a function f(l,r) r 阅读全文
posted @ 2015-07-22 14:39 maplefighting 阅读(142) 评论(0) 推荐(0)
摘要:题目名称:Find The Multiple 题目链接:http://poj.org/problem?id=1426 Description Given a positive integer n, write a program to find out a nonzero multiple m of 阅读全文
posted @ 2015-07-17 21:39 maplefighting 阅读(142) 评论(0) 推荐(0)
摘要:题目名称:Fliptile 题目链接:http://poj.org/problem?id=3279 Description Farmer John knows that an intellectually satisfied cow is a happy cow who will give more 阅读全文
posted @ 2015-07-17 20:55 maplefighting 阅读(153) 评论(0) 推荐(0)
摘要:题目名称:Catch That Cow 题目链接:http://poj.org/problem?id=3278 Description Farmer John has been informed of the location of a fugitive cow and wants to catch 阅读全文
posted @ 2015-07-17 20:33 maplefighting 阅读(145) 评论(0) 推荐(0)