1 #include<stdio.h> 2 int main() 3 { 4 int i,n,j[31],s,a,b; 5 for(;scanf("%d",&n)==1;) 6 { 7 i=0; 8 if (n==0) 9 { 10 printf("%11d-->0\n",n); 11 contin ...
分类:
其他好文 时间:
2017-05-04 13:23:36
阅读次数:
106
utils.sh脚本内容: 1 #!/usr/bin/env bash 2 3 # 4 # Licensed to the Apache Software Foundation (ASF) under one or more 5 # contributor license agreements. S ...
分类:
系统相关 时间:
2017-05-04 12:06:00
阅读次数:
226
O(logN) Important Point: Once the target is in one section, use the point in that section as benchmark In this problem, if the target >= startVal, use ...
分类:
其他好文 时间:
2017-05-04 09:49:34
阅读次数:
229
In MATLAB, there is a very useful function called 'reshape', which can reshape a matrix into a new one with different size but keep its original data. ...
分类:
其他好文 时间:
2017-05-04 01:40:05
阅读次数:
283
一.CSRF是什么? CSRF(Cross-site request forgery),中文名称:跨站请求伪造,也被称为:one click attack/session riding,缩写为:CSRF/XSRF。 二.CSRF可以做什么? 你这可以这么理解CSRF攻击:攻击者盗用了你的身份,以你的 ...
分类:
Web程序 时间:
2017-05-04 01:37:50
阅读次数:
317
There is only one happiness in life, to love and be loved. 生命中只有一种幸福,爱与被爱。 Some one told me that hearing her love say good night to her is the simples ...
分类:
其他好文 时间:
2017-05-04 01:34:20
阅读次数:
161
本次用到的环境: kali(2016.2)32位系统.ip地址:192.168.1.104 目标靶机为:win7sp1x64系统(关闭防火墙),ip地址:192.168.1.105 具体的步骤如下: kali系统下安装wine32: 用wine32执行cmd.exe git clone下载其利用脚本 ...
分类:
其他好文 时间:
2017-05-04 01:31:34
阅读次数:
417
所谓的依赖注入是指容器负责创建对象和维护对象间的依赖关系,而不是通过对象本身负责自己的创建和解决自己的依赖。 依赖注入主要目的是为了解耦,体现了一种“组合”的理念。 无论是xml配置、注解配置还是Java配置,都被称为配置元数据,所谓的元数据即描述数据的数据。 声明Bean的注解: @Compone ...
分类:
编程语言 时间:
2017-05-04 01:28:20
阅读次数:
201
From: http://www.cookbook-r.com/Graphs/Multiple_graphs_on_one_page_(ggplot2)/ library(ggplot2) multiplot(p1, p2, p3, p4, cols=2) # Multiple plot funct ...
分类:
其他好文 时间:
2017-05-04 00:09:18
阅读次数:
249