其他-周排行
Given an array of integers, find if the array contains any duplicates. Your function should return true if any value appears at least twice in the arr...
善用obj的defaultValue属性//输入框的获取焦点、失去焦点function TextOnFocus(obj){ if (obj.value == obj.defaultValue) { obj.value = ""; } obj.style.color="black";}function...
5 Signs You’re A Pretty Quick Learner你是个快速学习者的5个特征Pretty quick learners accept that they do not know it all. They keep their minds open and are willin...
http://poj.org/problem?id=3237
Description
You are given a tree with N nodes. The tree’s nodes are numbered 1 through N and its edges are numbered 1 through N ? 1. Each edge is associated with a...
dtsi机制是linux kernel为了适配多设备做出来的模块,产品线拉的较长的话用它来控制最合适不过了。初步阅读了下代码和接口清晰简洁。这个东东出来的时候xml/json应该比较成熟了,疑惑的是为啥不用现成的。编译与反编译代码:kernel/scripts/dtc/反编译dtb:dtc -I d...
No.68 Text JustificationGiven an array of words and a lengthL, format the text such that each line has exactlyLcharacters and is fully (left and right...
Problem DescriptionMarsha and Bill own a collection of marbles. They want to split the collection among themselves so that both receive an equal share...
题意:给你11个图,每一个都有管道,然后给一张由这11个正方形中的n个组成的图,判断有几条连通的管道;思路:在大一暑假的时候做过这道题,当时是当暴力来做的,正解是并查集,需要进行一下转换;转换1:将子图中的管道转换为数字码,通为1,不通为0;转换2:一维--->二维,i,j换成在n*m中的第几个,p...
题目:Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your max...
题意:从原点出发向八个方向走,所给数字串每个数字代表一个方向,终点与原点连线,求所得多边形面积;思路:(性质)共起点的两向量叉积的一半为两向量围成三角形的面积。以此计算每条边首尾两个向量的叉积,求和,除二;#include#include#include#include#includeusing n...
down vote From access.redhat.com:Sharing_Data_Across_Containers:" Host volume settings are not portable, since they are host-dependent and might not ....
最大团=补图最大独立集
when 补图是二分图时, 最大团=补图顶点数-最大匹配
//
// main.cpp
// poj3692
//
// Created by Fangpin on 15/5/29.
// Copyright (c) 2015年 FangPin. All rights reserved.
//
#include
#include
#include
usi...
郑昀 创建于2015/2/27 最后更新于2015/3/25 关键词: 哲学、规则、套路、传承 本文档适用人员:广义的技术人员 提纲: Don‘t make me think If it hurts, do it more and often 这个世界从来没有什么救世主 没有苦...
2015 UESTC Training for Dynamic Programming
2015 UESTC Training for Dynamic Programming
重点介绍如何利用50元左右的设备,抓包并还原SMS短信内容:ps:研究GSMSniffing纯属个人兴趣,能抓SMS报文只是捡了个明文传输的漏子,切勿用于非法用途。就像sylvain说的,osmocomBB并不是为抓包而实现的,如果没有足够的GSM相关知识,想实现还原语音通话内容根本就无从下手。--...
添加文件在检出的工作副本中添加一个Readme.txt文本文件,这时候这个文本文件会显示为没有版本控制的状态,如图:这时候,你需要告知TortoiseSVN你的操作,如图:加入以后,你的文件会变成这个状态,如图:这时候使用TortoiseSVN进行提交.这样别人就能看到你所做的更改了,如图.修改文件...
本篇文章由:http://xinpure.com/itunes-unable-to-add-iphone-custom-ringtones/itunes 添加自定义铃声步骤打开 itunes,选择菜单栏的 文件 - 将文件添加到资料库,选择要做铃声的歌曲,单击 打开歌曲会出现在 资料库 的 音乐 里...