码迷,mamicode.com
首页 >  
搜索关键字:magic squares    ( 1700个结果
Spring-2-A Magic Grid(SPOJ AMR11A)解题报告及测试数据
Magic GridTime Limit:336MS Memory Limit:0KB 64bit IO Format:%lld & %lluDescriptionThanks a lot for helping Harry Potter in finding the Sorcerer's Ston...
分类:编程语言   时间:2015-03-05 22:11:52    阅读次数:245
ZOJ 3622 Magic Number 打表找规律
A - Magic Number Time Limit:2000MS Memory Limit:32768KB 64bit IO Format:%lld & %lluSubmit Status Practice ZOJ 3622Appoint description:DescriptionA pos...
分类:其他好文   时间:2015-03-05 22:04:09    阅读次数:184
HDU 5154 Harry and Magical Computer 拓扑排序
水题不解释 拓扑排序判断有无环 Description In reward of being yearly outstanding magic student, Harry gets a magical computer. When the computer begins to deal with a process, it will work until t...
分类:编程语言   时间:2015-03-04 21:07:48    阅读次数:144
1037. Magic Coupon
The magic shop in Mars is offering some magic coupons. Each coupon has an integer N printed on it, meaning that when you use this coupon with a product, you may get N times the value of that product b...
分类:其他好文   时间:2015-03-04 09:54:35    阅读次数:241
POJ2488 A Knight's Journey 骑士巡游 DFS
DescriptionBackground The knight is getting bored of seeing the same black and white squares again and again and has decided to make a journey around the world. Whenever a knight moves, it is two s...
分类:其他好文   时间:2015-03-01 18:29:53    阅读次数:185
BFS解Magic Squares
Magic Squares IOI'96 Following the success of the magic cube, Mr. Rubik invented its planarversion, called magic squares. This is a sheet composed of 8 equal-sizedsquares: 1 2 3 4 8...
分类:其他好文   时间:2015-02-18 06:14:43    阅读次数:418
hustwinterC - Happy Matt Friends(dp解法)
DescriptionMatt has N friends. They are playing a game together.Each of Matt’s friends has a magic number. In the game, Matt selects some (could be ze...
分类:移动开发   时间:2015-02-17 17:41:00    阅读次数:197
HDOJ 5155 Harry And Magic Box DP
dp[i][j] 表示 长宽为i,j的矩形的可能的总数 dp[i][j+1] 可由 dp[i][j] 推过来,枚举dp[i][j]所保留的行数(1...i)即可 Harry And Magic Box Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total S...
分类:其他好文   时间:2015-02-16 15:40:44    阅读次数:107
PAT1037. Magic Coupon
The magic shop in Mars is offering some magic coupons. Each coupon has an integer N printed on it, meaning that when you use this coupon with a produc...
分类:其他好文   时间:2015-02-15 16:34:42    阅读次数:124
Magic Square
这道题是比较简单的,三个字——找规律。思路也应该是比较清晰的,下面,我们先看一下题目吧。 DescriptionIn recreational mathematics, a magic square of n-degree is an arrangement of n2 numbers, distinct integers, in a square, such that the n numbers...
分类:其他好文   时间:2015-02-15 13:34:23    阅读次数:239
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!