代码改变世界

随笔档案-2012年3月10日

2676_Sudoku

2012-03-10 01:09 by javaspring, 211 阅读, 收藏,
摘要: SudokuTime Limit:2000MSMemory Limit:65536KTotal Submissions:9679Accepted:4791Special JudgeDescriptionSudoku is a very simple task. A square table with 9 rows and 9 columns is divided to 9 smaller squares 3x3 as shown on the Figure. In some of the cells are written decimal digits from 1 to 9. The oth 阅读全文

2488_A Knight's Journey

2012-03-10 00:15 by javaspring, 236 阅读, 收藏,
摘要: A Knight's JourneyTime Limit:1000MSMemory Limit:65536KTotal Submissions:18356Accepted:6181DescriptionBackgroundThe knight is getting bored of seeing the same black and white squares again and again and has decided to make a journeyaround the world. Whenever a knight moves, it is two squares in o 阅读全文