码迷,mamicode.com
首页 >  
搜索关键字:katu puzzle    ( 693个结果
N-Queens
https://leetcode.com/problems/n-queens/Then-queens puzzle is the problem of placingnqueens on ann×nchessboard such that no two queens attack each othe...
分类:其他好文   时间:2015-04-11 22:13:56    阅读次数:137
The Maze Makers
1566: The Maze Makers Time Limit: 1 Sec  Memory Limit: 128 MB Submit: 90  Solved: 33 [Submit][Status][Web Board] Description The Maze Makers is a publisher of puzzle books. One of their most ...
分类:其他好文   时间:2015-04-08 09:13:58    阅读次数:135
CSU1566: The Maze Makers(BFS)
Description The Maze Makers is a publisher of puzzle books. One of their most popular series is maze books. They have a program that generates rectangular two-dimensional mazes like the one shown...
分类:其他好文   时间:2015-04-07 17:43:08    阅读次数:156
AOJ 0121: Seven Puzzle (BFS DP STL 逆向推理)(转载)
转载自: http://m.blog.csdn.net/blog/Enjoying_Science/42008801题目链接:http://acm.hust.edu.cn/vjudge/problem/viewProblem.action?id=49880题意:7数码问题。在2×4的棋盘上,摆有7个...
分类:其他好文   时间:2015-04-07 13:42:53    阅读次数:233
N-Queens 1&2
Then-queens puzzle is the problem of placingnqueens on ann×nchessboard such that no two queens attack each other.Given an integern, return all distinc...
分类:其他好文   时间:2015-04-06 12:45:18    阅读次数:147
HDU 1098 Ignatius's Puzzle(解法汇集)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1098 题意:     求针对输入的k,能否找到一个最小的a,使得当x取任意自然数时,f(x)=5*x^13+13*x^5+k*a*x始终能被65整除。 我的解法:    取f(1),f(2)两个特殊值得。    1.       5+13+k*a=65*T1  ->> k*a=47+65*T...
分类:其他好文   时间:2015-04-03 17:33:51    阅读次数:121
Aizu 0121 Seven Puzzle (康托展开+bfs)
Seven PuzzleTime Limit : 1 sec, Memory Limit : 65536 KB7パズルは8つの正方形のカードとこれらのカードがぴたりと収まる枠を使って行います。それぞれのカードは互いに区別できるように、0,1,2....7と番号がつけられています。枠には、縦に2個、横...
分类:其他好文   时间:2015-03-31 23:53:17    阅读次数:240
[leetcode] Sudoku Solver
Sudoku SolverWrite a program to solve a Sudoku puzzle by filling the empty cells.Empty cells are indicated by the character'.'.You may assume that the...
分类:其他好文   时间:2015-03-31 22:06:48    阅读次数:139
[LeetCode 51&52] N-Queens I & II (N皇后问题)
题目链接:n-queens import java.util.ArrayList; import java.util.Arrays; import java.util.List; /** * The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no t...
分类:其他好文   时间:2015-03-31 09:06:07    阅读次数:156
Sicily 1317. Sudoku
1317. Sudoku Constraints Time Limit: 10 secs, Memory Limit: 32 MB Description Sudoku is a placement puzzle. The goal is to enter a symbol in each cell of a grid, most frequently a 9 ...
分类:其他好文   时间:2015-03-31 09:03:13    阅读次数:209
693条   上一页 1 ... 44 45 46 47 48 ... 70 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!