码迷,mamicode.com
首页 >  
搜索关键字:katu puzzle    ( 693个结果
poj 3678 2-sat(强连通)
题目链接 poj 3678Katu PuzzleTime Limit:1000MSMemory Limit:65536KTotal Submissions:8340Accepted:3077DescriptionKatu Puzzle is presented as a directed graph...
分类:其他好文   时间:2015-05-27 15:28:06    阅读次数:147
【N-Queens】cpp
题目:Then-queens puzzle is the problem of placingnqueens on ann×nchessboard such that no two queens attack each other.Given an integern, return all dist...
分类:其他好文   时间:2015-05-27 11:45:43    阅读次数:126
俄罗斯方块问题
问题:Tetris (Russian: Тeтрис) is a puzzle video game originally designed and programmed by Alexey Pajitnov in the Soviet Union. The Tetris game is a pop...
分类:其他好文   时间:2015-05-25 08:33:35    阅读次数:260
数独问题
问题: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 b...
分类:其他好文   时间:2015-05-24 08:51:53    阅读次数:128
Mayan游戏 (codevs 1136)题解
【问题描述】Mayan puzzle是最近流行起来的一个游戏。游戏界面是一个7行5列的棋盘,上面堆放着一些方块,方块不能悬空堆放,即方块必须放在最下面一行,或者放在其他方块之上。游戏通关是指在规定的步数内消除所有的方块,消除方块的规则如下:1、每步移动可以且仅可以沿横向(即向左或向右)拖动某一方块一...
分类:其他好文   时间:2015-05-22 15:09:49    阅读次数:142
LeetCode 37 Sudoku Solver (C,C++,Java,Python)
Problem: 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 only one unique solution. ...
分类:编程语言   时间:2015-05-19 14:49:38    阅读次数:210
poj 1651 区间dp
Multiplication Puzzle 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 equal to the product of the number o...
分类:其他好文   时间:2015-05-17 12:18:43    阅读次数:88
Java for LeetCode 051 N-Queens
Given an integer n, return all distinct solutions to the n-queens puzzle.Each solution contains a distinct board configuration of the n-queens' placem...
分类:编程语言   时间:2015-05-15 10:32:24    阅读次数:129
POJ 3678 Katu Puzzle (2-sat基础)
题意:每个数只有0,1两种可能,给出两两之间的AND,OR,XOR的值,判断有没有解 裸题。 #include #include #include #include using namespace std; const int N = 2010; struct Edge { int v,next; }es[N*N]; int head[N]; int n,m; int tmp[N],...
分类:其他好文   时间:2015-05-13 16:51:19    阅读次数:150
UESTC_Eight Puzzle 2015 UESTC Training for Search Algorithm & String<Problem F>
2015 UESTC Training for Search Algorithm & String
分类:其他好文   时间:2015-05-13 06:11:35    阅读次数:179
693条   上一页 1 ... 41 42 43 44 45 ... 70 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!