孤独的骑士 (C++代码) 摘要:解题思路:每个位置其实都有8种走法,但是如果出界则不计注意事项:getchar(),还有那个数组ch要多留个位置存放'\0'参考代码:#include <iostream>using …… 题解列表 2019年03月12日 1 点赞 2 评论 1212 浏览 评分:9.9
孤独的骑士 (C语言代码) 摘要:解题思路:分情况讨论注意事项:参考代码:#include <stdio.h>int main(void){ int i, n, x, y, count; char c; scanf("%d", &n)…… 题解列表 2017年12月09日 0 点赞 0 评论 1467 浏览 评分:9.9
编写题解 1208: 孤独的骑士 摘要:解题思路:注意事项:参考代码:dic={'a':1,'b':2,'c':3,'d':4,'e':5,'f'…… 题解列表 2022年02月21日 1 点赞 0 评论 285 浏览 评分:10.0
优雅的代码往往只需要一个简单的偏移量就能搞定! 摘要: #include #include #include #include using namespace std; const int dx[] = {-2,-2,2,2,1,-1…… 题解列表 2025年09月29日 3 点赞 0 评论 203 浏览 评分:10.0