码迷,mamicode.com
首页 >  
搜索关键字:worstweather ever    ( 3292个结果
[leetcode-137-Single Number II]
Given an array of integers, every element appears three times except for one, which appears exactly once. Find that single one. Note:Your algorithm sh ...
分类:其他好文   时间:2017-03-13 23:56:15    阅读次数:327
qcom Android Camera【转】
本文转载自:http://blog.csdn.net/Wilsonboliu/article/details/54949196 1.总体架构 Android Camera 框架从整体上看是一个 client/service 的架构, 有两个进程: client 进程,可以看成是 AP 端,主要包括  ...
分类:移动开发   时间:2017-03-13 18:36:14    阅读次数:378
leetcode-206
Reverse Linked List Reverse a singly linked list. 此题不难,附上java代码: ...
分类:其他好文   时间:2017-03-12 15:06:19    阅读次数:115
ansbile简单应用
一、简介 Ansible is a radically simple configuration-management, application deployment, task-execution, and multinode orchestration engine. Design Princi ...
分类:其他好文   时间:2017-03-12 11:32:44    阅读次数:529
POJ-1741 Tree 【点分治】
Description Give a tree with n vertices,each edge has a length(positive integer less than 1001). Define dist(u,v)=The min distance between node u and ...
分类:其他好文   时间:2017-03-12 01:07:35    阅读次数:226
Linux 下安装QT出现The specified system/compiler is not supported错误
字面意思是系统或者编译工具不支持 终端输入export,才明白是哪里出错了: 在export显示的信息中,QMAKESPEC=/xxx/xxxx/xxx/xxx这个环境变量指定的目录根本就不是我的qt源码所在的目录,就重新设一下该环境变量:export QMAKESPEC=/root/qt-ever ...
分类:系统相关   时间:2017-03-11 23:30:13    阅读次数:789
数组的创建,及数组的方法
一、如何创建一个数组? 创建数组的方法常见的有三种: 第一种: 第二种: 第三种: 二、数组的一些操作方法 1.数组的length属性:用来计算数组的长度,也就是数组元素的个数 2.数组的push方法:用来向数组的尾部添加新的元素 3.数组的unshift方法:用来向数组元素的前面添加元素 4.数组 ...
分类:编程语言   时间:2017-03-10 20:44:16    阅读次数:173
如何在Linux下快速安装MapTiler
研究背景: 日前我司接到一个项目需要用到MapTiler,分到我的任务是测试MapTiler在linux下切图速度,这里涉及到到MapTiler在Linux下安装的问题,从 MapTiler公司拿到的在linux30天试用期的是一个rpm文件,单纯的利用rpm –ivh命令安装会发现它依赖了gdal ...
分类:系统相关   时间:2017-03-10 17:53:37    阅读次数:302
python 实现剪刀石头布(三局两胜)
1 # -*- coding:utf-8 -*- 2 import random 3 4 # best of three 5 def finger_guess(): 6 rule = {1:'rock', 2:'paper', 3:'scissor'} 7 win_way = [['rock', '... ...
分类:编程语言   时间:2017-03-09 17:09:45    阅读次数:516
Linux每隔1秒kill掉cpu大于50%的进程
1.新建/test/killcpu.sh shell脚本 并授予权限0755#!/bin/bashps axf -o "pid %cpu" | awk '{if($2>=50.0) print $1}' | while read prociddokill -9 $prociddone 2.安装cro ...
分类:系统相关   时间:2017-03-09 17:06:46    阅读次数:308
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!