码迷,mamicode.com
首页 >  
搜索关键字:city game    ( 8645个结果
mongodb之find格式化打印
未格式化打印>db.games.find() {"_id":ObjectId("53d077372826c5d3aae7ad6a"),"game":"pinball","user":"joe","score":5050}格式化打印>db.games.find().pretty() { "_id":ObjectId("53d077372826c5d3aae7ad6a"), "game":"pinball", "user":"joe", "score":5050 } >修..
分类:数据库   时间:2014-07-24 12:28:55    阅读次数:296
UVa 10651 Pebble Solitaire(DP 记忆化搜索)
Pebble Solitaire   Pebble solitaire is an interesting game. This is a game where you are given a board with an arrangement of small cavities, initially all but one occupied by a pebble each. The...
分类:其他好文   时间:2014-07-23 22:38:37    阅读次数:344
ZOJ1008
Gnome TetravexTime Limit:10 Seconds Memory Limit:32768 KBHart is engaged in playing an interesting game, Gnome Tetravex, these days. In the game, at t...
分类:其他好文   时间:2014-07-23 16:33:01    阅读次数:293
UVA 10039 Railroads
这道题好吧,一开始便是拓扑排序的想法,搞了好久,试了多组测试数据,没错啊,可是没过。。。作孽啊,竟然忘了拓扑不能处理环,白浪费了一晚上。。。只好用动态规划了。。DP【time】【city】表示在time时刻到达city的最迟出发时间,当然,在这个时间不一定到city。转移方程挺简单,不说你也会。 1...
分类:其他好文   时间:2014-07-23 12:07:56    阅读次数:298
HDU 4861(多校)1001 Couple doubi
Problem Description DouBiXp has a girlfriend named DouBiNan.One day they felt very boring and decided to play some games. The rule of this game is as following. There are k balls on the desk. Every...
分类:其他好文   时间:2014-07-23 00:05:27    阅读次数:344
Leet code —Jump Game
问题描述: Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your maximum jump length at that position. Determin...
分类:其他好文   时间:2014-07-23 00:04:37    阅读次数:216
uva------Help is needed for Dexter(11384)
Problem HHelp is needed for DexterTime Limit: 3 SecondDexter is tired of Dee Dee. So he decided to keep Dee Dee busy in a game. The game he planned fo...
分类:其他好文   时间:2014-07-22 23:26:57    阅读次数:301
xtu数据结构 H. City Horizon
H. City HorizonTime Limit: 2000msMemory Limit: 65536KB64-bit integer IO format:%lld Java class name:MainFarmer John has taken his cows on a trip to th...
分类:其他好文   时间:2014-07-22 23:21:57    阅读次数:263
hdu 1505 City Game
http://acm.hdu.edu.cn/showproblem.php?pid=1505先处理每一行上每一个F为底往上所到达的高度,然后再左右处理。 1 #include 2 #include 3 #include 4 #define maxn 1001 5 using namespace...
分类:其他好文   时间:2014-07-22 22:45:13    阅读次数:191
POJ 1703:Find them, Catch them(带权的并查集)
Find them, Catch them Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 30702   Accepted: 9447 Description The police office in Tadu City decides to sa...
分类:其他好文   时间:2014-07-22 14:41:45    阅读次数:212
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!