第一步ftp://ftp.u-aizu.ac.jp/pub/graphics/p_w_picpath/ImageMagick/p_w_picpathmagick.org/p_w_picpathmagick下载网站wgetftp://ftp.u-aizu.ac.jp/pub/graphics/p_w_picpath/ImageMagick/p_w_picpathmagick.org/ImageMagick-6.9.9-11.tar.gztar-xfImageMagick-6.9.9-11.tar...
分类:
Web程序 时间:
2017-09-07 23:06:56
阅读次数:
235
Nicholas Y. Alford was a cat lover. He had a garden in a village and kept many cats in his garden. The cats were so cute that people in the village al ...
分类:
其他好文 时间:
2017-08-11 23:51:08
阅读次数:
246
King Mercer is the king of ACM kingdom. There are one capital and some cities in his kingdom. Amazingly, there are no roads in the kingdom now. Recent ...
分类:
其他好文 时间:
2017-08-05 16:45:57
阅读次数:
230
题意:/*你是某个岛国(ACM-ICPC Japan)上的一个苦逼程序员,你有一个当邮递员的好基友利腾桑遇到麻烦了:全岛有一些镇子通过水路和旱路相连,走水路必须要用船,在X处下船了船就停在X处。而且岛上只有一条船,下次想走水路还是得回到X处才行;两个镇子之间可能有两条以上的水路或旱路;邮递员必须按照 ...
分类:
其他好文 时间:
2017-08-05 10:02:56
阅读次数:
201
题意:出一颗树,有两种操作:1. mark u 标记结点u2.query u 询问离u最近的且被标记的祖先结点是哪个让你输出所有询问的和。 思路:数据量太小,直接暴力dfs就可以了 #include<iostream> #include<cstdio> #include<cstdlib> #incl ...
分类:
其他好文 时间:
2017-08-05 09:59:06
阅读次数:
131
题目:给出若干个建筑之间的一些路,每条路都有对应的长度和需要的花费,问在保证源点1到其他个点的距离最短的情况下,最少的花费是多少/ 思路:和一般的最短路问题相比,多了一个 数组id【i】,用来记录到达i点在距离最短的情况下是由那条边到达的。 #include<iostream> #include<c ...
分类:
其他好文 时间:
2017-08-01 00:26:05
阅读次数:
118
http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_6_D&lang=jp 最小成本排序: ...
分类:
编程语言 时间:
2017-07-19 23:31:31
阅读次数:
246
G. Rabbit Party Time Limit: 5000ms Case Time Limit: 5000ms Memory Limit: 65536KB 64-bit integer IO format: %lld Java class name: Main Submit Status PI ...
分类:
其他好文 时间:
2017-06-23 10:35:56
阅读次数:
171
F. Beautiful Currency Time Limit: 5000ms Case Time Limit: 5000ms Memory Limit: 65536KB 64-bit integer IO format: %lld Java class name: Main Submit Sta ...
分类:
其他好文 时间:
2017-06-03 20:05:42
阅读次数:
168
Similarity of Subtrees Define the depth of a node in a rooted tree by applying the following rules recursively: The depth of a root node is 0. The dep ...
分类:
其他好文 时间:
2017-04-23 23:19:26
阅读次数:
622