码迷,mamicode.com
首页 >  
搜索关键字:not find    ( 24186个结果
AS安装出现Cannot find AVD system path. Please define ANDROID_SDK_ROOT
先抒发一下情感, 今天早上在重新装AS,第一次装的时候的 SDK 和 AVD文件都还在,config 也在,装好打算直接继承,一切都很正常 结果 Android 模拟器无法启动 说我没有定义 ANDROID_SDK_ROOT 我一脸懵,遇事不决先百度,结果按着CSDN 的一顿操作,就抛出了新的错误 ...
分类:移动开发   时间:2020-03-17 21:13:55    阅读次数:197
34. 在排序数组中查找元素的第一个和最后一个位置
1 class Solution 2 { 3 public: 4 vector<int> searchRange(vector<int>& nums, int target) 5 { 6 auto it = find(nums.begin(),nums.end(),target); 7 if(it ...
分类:编程语言   时间:2020-03-17 19:31:11    阅读次数:57
HDU1199 Color the Ball (线段树合并+离散化经典)
与这道题相似的还有poj一道贴海报的题目,但这道题更加经典 典型的线段树合并求区间子段和模型,但是不同的是加了一个离散化,这也是最难的地方 本题思路: 1.设计lmax,rmax tmax来表示左边最长连续,总共最长连续和右边最长连续 2.设计懒标记为-1,0,1表示这区间是否都是黑或白或混合,如果 ...
分类:其他好文   时间:2020-03-17 15:29:37    阅读次数:67
GPLT L2-024 部落 (并查集)
Tips: 这种数据如果没有路径压缩的话是很容易超时的。 5001 2 1 2 2 3 4 2 5 6 …… 2 9997 9998 2 9999 10000 5000 1 3 5 …… 9997 9999 10000 10000 10000 …… 10000 10000 ${O_{\left( n ...
分类:其他好文   时间:2020-03-17 12:42:21    阅读次数:61
eclipse踩坑
Error occurred during initialization of boot layerjava.lang.module.FindException: Module Myjava not found 今天java项目突然报错,最后测试一小时。 最后最后,才发现,原来我换了jre,但是机器 ...
分类:系统相关   时间:2020-03-17 11:29:45    阅读次数:98
zabbix 4.0更换页面LOGO
1、 zabbix安装好以后的默认LOGO如下: 2、 修改方法: Logo文件: root@ubuntu:/usr/share/zabbix/assets/fonts# find / -name icon-sprite.svg /usr/share/zabbix/assets/img/icon-s ...
分类:其他好文   时间:2020-03-17 10:22:18    阅读次数:317
[CodeForces] 1325D Ehab the Xorcist
Given 2 integers u and v, find the shortest array such that bitwise-xor of its elements is u, and the sum of its elements is v. Input The only line co ...
分类:其他好文   时间:2020-03-17 08:26:52    阅读次数:63
自动定位android ndk的路径
开发过程中,我们在makefile环境变量里面指定android ndk toolchain的路径 然而,每个人的路径并不一样,所以有必要写个什么东西来做自动查找定位和配置 原理在于android ndk的根目录里面有个source.properties文件 用find命令很容易根据这个文件名找到这 ...
分类:移动开发   时间:2020-03-17 08:18:37    阅读次数:91
攻防世界wp--web command_execution
本题考的是命令执行漏洞方面的知识。 首先,我们要知道命令执行漏洞是什么: 当应用需要调用一些外部程序去处理内容的情况下,就会用到一些执行系统命令的函数。如PHP中的system,exec,shell_exec等,当用户可以控制命令执行函数中的参数时,将可注入恶意系统命令到正常命令中,造成命令执行攻击 ...
分类:Web程序   时间:2020-03-16 23:49:37    阅读次数:100
[LeetCode] 01 Matrix 零一矩阵
Given a matrix consists of 0 and 1, find the distance of the nearest 0 for each cell. The distance between two adjacent cells is 1. Example 1: Input: ...
分类:其他好文   时间:2020-03-16 23:35:41    阅读次数:72
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!