摘要: #includeusing namespace std;#include#includechar f[101][101];int n;int main(){scanf("%d",&n);f[1][1]='1';f[2][1]='2';for(int i=3;i=10){x=1;l1%=10;}... 阅读全文
posted @ 2016-03-29 22:39 csgc0131123 阅读(230) 评论(0) 推荐(0) 编辑
摘要: 1219 骑士游历 1997年 时间限制: 1s 空间限制:128000 KB 题目等级 :黄金 Gold题解题目描述 Description设有一个n*m的棋盘(2≤n≤50,2≤m≤50),如下图,在棋盘上有一个中国象棋马。规定:1)马只能走日字2)马只能向右跳问给定起点x1,y1和终点x... 阅读全文
posted @ 2016-03-29 21:18 csgc0131123 阅读(292) 评论(0) 推荐(0) 编辑