缺失的第一个正数。题意是给一个未排序的整数数组,找出其中没有出现的最小的正整数。例子, Example 1: Input: [1,2,0] Output: 3 Example 2: Input: [3,4,-1,1] Output: 2 Example 3: Input: [7,8,9,11,12] ...
分类:
其他好文 时间:
2020-03-06 10:59:55
阅读次数:
66
study_obscure混淆反混淆视频教程第一章llvm项目简单使用第一课llvm项目编译(windowsxcode)链接:https://pan.baidu.com/s/1ILvoVripdAcHF9NLKJYZ2Ahttps://github.com/haidragon/study_obscure/blob/master/llvm_note/class1/note.md第二课clang编译与
分类:
其他好文 时间:
2020-02-29 09:12:04
阅读次数:
103
Python3 环境搭建 本章节我们将向大家介绍如何在本地搭建 Python3 开发环境。 Python3 可应用于多平台包括 Windows、Linux 和 Mac OS X。 Unix (Solaris, Linux, FreeBSD, AIX, HP/UX, SunOS, IRIX, 等等。) ...
分类:
编程语言 时间:
2020-02-28 20:31:17
阅读次数:
76
The simple answer to that is, "Kernel Developers do not put blind faith in anything". When any data is passed to the kernel space from userspace, it i ...
分类:
其他好文 时间:
2020-02-28 18:52:41
阅读次数:
85
最近在学习,测试一些主流的基于pg fdw 的数据访问机制,发现好多对于pg 10 pg 11 。。。 等基本就不支持了。 好久没有更新了,但是老版本还是比较稳定的,以下是一些自己的思考,做一个简单的记录 使用新版本pg 的postgres fdw 集成旧版本的 这种方式会形成一个数据访问的层级结构 ...
分类:
其他好文 时间:
2020-02-26 20:29:02
阅读次数:
83
一说起设计模式,大家应该都不会太陌生。毕竟在面向对象的世界中,我们需要用到各种奇技淫巧的手段来构建我们的应用,而设计模式就是这些技巧的根本。既然都是向外界提供一个结果,那么Provider和Factory到底有什么不同呢? ...
分类:
其他好文 时间:
2020-02-24 18:41:50
阅读次数:
222
加油站。题意是给一个长度为N的环,用数组表示。环上的每一个点都有两个值,一个是当前加油站的油量,一个是开到下一个加油站的耗油量。请找到一个起点能够保证车开完一圈,返回起点的坐标;若找不到这个起点则返回-1。例子, Example 1: Input: gas = [1,2,3,4,5] cost = ...
分类:
其他好文 时间:
2020-02-13 09:25:56
阅读次数:
59
Link #include <bits/stdc++.h> # define LL long using namespace std; const int mod=100000000; int M, N; int grid[12]; LL dp[12][1<<12]; LL dfs(int r, i ...
分类:
其他好文 时间:
2020-02-09 22:01:19
阅读次数:
56
罗马数字转换整数。题意跟12题恰好相反。例子, Example 1: Input: "III" Output: 3 Example 2: Input: "IV" Output: 4 Example 3: Input: "IX" Output: 9 Example 4: Input: "LVIII" ...
分类:
其他好文 时间:
2020-01-29 10:30:12
阅读次数:
70
Cornfields Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 9378 Accepted: 4420 Description FJ has decided to grow his own corn hybrid in or ...
分类:
其他好文 时间:
2020-01-29 10:24:05
阅读次数:
95