三个模块 1,game.exe,三个方法,控制台输入指令('A','B','R')分别控制三个方法的调用; 2,WGDll.dll,要注入到game进程中的dll文件; 3,myconsole.exe,用来注入dll文件的程序; 先开启game进程,然后用myconsole把dll注入到game,d ...
(使用前请新建一个game.txt和data.txt) #include<stdlib.h> #include<stdio.h> #include<time.h> //suiji #include<string.h> #include<windows.h> //SLEEP函数 #include<io ...
分类:
其他好文 时间:
2020-02-11 17:35:38
阅读次数:
108
两种压缩方式:Lzma (默认的), Lz4 四种加载方法: 1,从内存中加载:LoadfromMemory()内存 2,从本地加载:LoadFromFile 3,从本地或服务器加载www(下面会提到) 4,从服务器端加载unityWebRequest 加载依赖资源包 1,获得总的依赖配置(stre ...
分类:
其他好文 时间:
2020-02-10 09:14:35
阅读次数:
108
"题目" 双周赛最后一题 题意:从起始点开始走,每次只能往前走一步,或者往后走一步,或者直接跳到数值一样的格子。求跳到最后一个格子的最小步数 题解: 一开始以为是动态规划,后来发现用BFS更加简单。动态规划也是可以解的。 ...
分类:
其他好文 时间:
2020-02-09 20:11:57
阅读次数:
72
Flip game is played on a rectangular 4x4 field with two-sided pieces placed on each of its 16 squares. One side of each piece is white and the other o ...
分类:
其他好文 时间:
2020-02-08 22:02:58
阅读次数:
86
题目如下: Given an array of integers arr and an integer d. In one step you can jump from index i to index: i + x where: i + x < arr.length and 0 < x <= d. ...
分类:
其他好文 时间:
2020-02-08 16:04:58
阅读次数:
64
Problem "TODO] [Crisp String" "Done] [Lightning Conductor" ...
分类:
其他好文 时间:
2020-02-08 00:20:51
阅读次数:
48
$$The\ 10th\ Shandong\ Provincial\ Collegiate\ Programming\ Contest$$ $A.Calandar$ 签到 $B.Flipping\ Game$ DP $f[i][j]$表示当前第$i$轮按开关,和最终状态相反的有$j$个的方案数 ,初 ...
分类:
其他好文 时间:
2020-02-07 20:33:55
阅读次数:
71
例如增加2G虚拟内存,操作如下:[root@gamedb ~]# free -m[root@gamedb tmp]# dd if=/dev/zero of=/tmp/big_swap bs=1024 count=2000000[root@gamedb tmp]# du -sh /tmp/big_sw ...
分类:
系统相关 时间:
2020-02-07 18:37:46
阅读次数:
86
一定是两个障碍物组成一对来破坏连通性,每个障碍物可能属于最多3对,然后维护障碍物对数就行。但是懒得讨论,暴力分块过了。 涉及到修改的块暴力重构这个块的连通性。只要左端两个位置和右端两个位置中任意两个可互达就具有连通性。 然后每次询问,就先看每个块的连通性,再看每个块之间是否成功的连接起来。 1 #i ...
分类:
其他好文 时间:
2020-02-07 11:07:49
阅读次数:
69