Description
The puzzle game of Sudoku is played on a board of N2 × N2 cells. The cells are grouped in N × N squares of N × N cells each. Each cell is either empty or contains a number between
1 a...
分类:
其他好文 时间:
2014-08-02 23:26:34
阅读次数:
344
题目:
Ananagrams
Most crossword puzzle fans are used to anagrams--groups of words with the same letters in different orders--for example OPTS, SPOT, STOP, POTS and POST. Some words however...
分类:
其他好文 时间:
2014-08-02 18:30:13
阅读次数:
303
题目: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 ....
分类:
编程语言 时间:
2014-08-01 10:38:21
阅读次数:
224
A hard puzzle
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 28814 Accepted Submission(s): 10315
Problem Description
lcy gives a ha...
分类:
其他好文 时间:
2014-07-27 11:33:52
阅读次数:
228
Ignatius's puzzle
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 6222 Accepted Submission(s): 4283
Problem Description
Ignatius is ...
分类:
其他好文 时间:
2014-07-27 11:28:42
阅读次数:
185
题目: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
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
#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
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
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