symons

___________每一天都是幸福的!!

  博客园  ::  :: 新随笔  ::  :: 订阅 订阅  :: 管理

2013年3月14日

摘要: 要求字典序的顺序。 1 #include <iostream> 2 #include <stdio.h> 3 #include <string.h> 4 using namespace std; 5 int n,m,cnt; 6 bool success; 7 bool sign[30][30]; 8 int step[30][2]; 9 int dir[8][2]={10 -2,-1,-2,1,11 -1,-2,-1,2,12 1 ,-2,1 ,2,13 2 ,-... 阅读全文
posted @ 2013-03-14 21:01 symons 阅读(126) 评论(0) 推荐(0)