迷宫找出口 js function isSafe(maze,x,y){ if(x = 0 && y = 0 && x ...
分类:
其他好文 时间:
2019-05-18 00:43:00
阅读次数:
104
迷宫问题 Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 41913 Accepted: 23240 Description 定义一个二维数组: int maze[5][5] = { 0, 1, 0, 0, 0, 0, 1, 0, ...
分类:
其他好文 时间:
2019-05-15 14:03:42
阅读次数:
115
题目下载之后在linux上查看一下 发现是elf文件尝试运行一下: 要求输入正确的flag才可以,ida查看 交叉引用 对长度和开头对比,进行判断。 转到400690查看 和#进行比较,hex 是一个8*8的矩阵,走到23的位置上下左右分别是.0Oo flag为nctf{o0oo00O000oooo ...
分类:
其他好文 时间:
2019-05-11 23:22:06
阅读次数:
239
描述 Imagine you are standing inside a two dimensional maze composed of square cells which may or may not be filled with rock. You can move north, south ...
分类:
其他好文 时间:
2019-05-02 21:27:48
阅读次数:
166
迷宫问题 Time Limit: 1000MSMemory Limit: 65536K Description 定义一个二维数组:int maze[5][5] = { 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, ... ...
分类:
其他好文 时间:
2019-04-29 19:11:50
阅读次数:
140
题目提示是走迷宫。 IDA载入程序分析。 输入字符长度必须是24,开头必须是nctf{,结尾必须是}。在125处按R就可以变成字符。 sub_400650和sub_400660是关键函数,分析sub_400650。 v10的下一字节减1. sub_400660v10的下一字节加1. 分析这两个函数。 ...
分类:
其他好文 时间:
2019-04-27 17:07:16
阅读次数:
315
#include using namespace std; struct Node{ int r, c, dis; Node(int r, int c):r(r), c(c){} }; const int maxn = 1000 + 3; int R, C; char maze[maxn][maxn... ...
分类:
其他好文 时间:
2019-04-08 21:10:43
阅读次数:
125
#include #include #include #include using namespace std; const int MAX = 100; int N, M, cnt; char maze[MAX][MAX]; bool vis[MAX][MAX]; int sx, sy; int ... ...
分类:
其他好文 时间:
2019-04-06 12:36:37
阅读次数:
177
迷宫问题 Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 40547 Accepted: 22591 Description 定义一个二维数组: int maze[5][5] = { 0, 1, 0, 0, 0, 0, 1, 0, ...
分类:
其他好文 时间:
2019-04-05 00:20:28
阅读次数:
180