码迷,mamicode.com
首页 >  
搜索关键字:dearboys puzzle    ( 688个结果
N-Queens leetcode java
题目:The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other.Given an integer n, return a....
分类:编程语言   时间:2014-07-27 11:00:22    阅读次数:262
【leetcode刷题笔记】Sudoku Solver
Write a program to solve a Sudoku puzzle by filling the empty cells.Empty cells are indicated by the character'.'.You may assume that there will be on...
分类:其他好文   时间:2014-07-25 14:18:51    阅读次数:284
HDU 1097 A hard puzzle
#include int main() { int a,b; while(scanf("%d%d",&a,&b)!=EOF) { int i,last; a=a%10; b=b%4; last=a;//必须在此处将a的值赋给last if(b==0) b=4; for(i=1;i<b;i++) { last=a*last%10; } printf...
分类:其他好文   时间:2014-07-23 13:23:26    阅读次数:282
poj1651Multiplication Puzzle(取数,区间DP)
Description The multiplication puzzle is played with a row of cards, each containing a single positive integer. During the move player takes one card out of the row and scores the number of points ...
分类:其他好文   时间:2014-07-21 22:11:18    阅读次数:289
HDU3567:Eight II(康拓展开+预处理)
Problem Description Eight-puzzle, which is also called "Nine grids", comes from an old game.  In this game, you are given a 3 by 3 board and 8 tiles. The tiles are numbered from 1 to 8 and each ...
分类:其他好文   时间:2014-07-21 16:22:02    阅读次数:264
【leetcode刷题笔记】N-Queens
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...
分类:其他好文   时间:2014-07-18 15:07:26    阅读次数:223
Sudoku Solver
Write a program to solve a Sudoku puzzle by filling the empty cells.Empty cells are indicated by the character'.'.You may assume that there will be on...
分类:其他好文   时间:2014-07-16 21:52:48    阅读次数:177
POJ 1077 Eight
EightTime Limit:1000MSMemory Limit:65536KTotal Submissions:23815Accepted:10518Special JudgeDescriptionThe 15-puzzle has been around for over 100 years...
分类:其他好文   时间:2014-07-16 20:48:30    阅读次数:219
POJ - 1651 - Multiplication Puzzle
先上题目:Multiplication PuzzleTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 6162Accepted: 3758DescriptionThe multiplication puzzle is played wi...
分类:其他好文   时间:2014-07-16 18:14:34    阅读次数:213
ZOJ3435_Ideal Puzzle Bobble
把L,H,W分别减一就变成上面一个题目了。不多说,也不召唤代码君了。
分类:其他好文   时间:2014-07-13 22:17:32    阅读次数:197
688条   上一页 1 ... 63 64 65 66 67 ... 69 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!