1 """ 2 Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after ...
分类:
移动开发 时间:
2020-02-22 17:20:15
阅读次数:
109
java任意进制转换 前言 我们正常使用的是十进制,计算机使用的是二进制,初次之外还有很多不同的进制,但是转换方法都相似,这里就整理一下java的进制转换。 调用函数 十进制转十六进制 Integer.toHexString(int i) 十进制转八进制 Integer.toOctalString( ...
分类:
编程语言 时间:
2020-02-22 13:53:51
阅读次数:
89
1 """ 2 Given an array nums of n integers and an integer target, find three integers in nums such that the sum is closest to target. Return the sum of ...
分类:
其他好文 时间:
2020-02-22 00:41:15
阅读次数:
83
利用服务端缓存技术,将页面和对象缓存在redis中,可以减少时间浪费,内存开销。但在每次请求的过程中,仍然会有大量静态资源的请求和返回。 使用静态页面技术,页面不必要使用页面交互技术,比如thymeleaf,jsp等。而是写一个纯的html静态页面,然后在页面端通过js的ajax请求,获得数据,并通 ...
分类:
编程语言 时间:
2020-02-22 00:35:17
阅读次数:
83
nmap扫描出来一个csrf漏洞 C:\nmap 192.168.1.1 --script=auth,vuln Starting Nmap 7.70 ( https://nmap.org ) at 2020-02-21 23:19 ?D1ú±ê×?ê±?? mass_dns: warning: Un ...
分类:
移动开发 时间:
2020-02-22 00:02:35
阅读次数:
672
1.我们都知道,在mybatis中写实体类的时候,是按照数据库中的列名来给实体类定义属性的,举个例子: public class User implements Serializable { private Integer id; private String username; private S ...
分类:
数据库 时间:
2020-02-21 23:57:49
阅读次数:
188
domain package cn.it.domain; import java.io.Serializable; public class Account implements Serializable { private Integer id; private String name; priv ...
分类:
其他好文 时间:
2020-02-21 22:43:46
阅读次数:
76
今天记录一下列表的基础功能: 定义一个列表: l1=[1,2,3] l2=list([1,2,3,]) l1 [1, 2, 3] l2 [1, 2, 3] 1、append: 像列表中添加一个元素 l1=[1,2,3,] l1.append(4) l1 [1, 2, 3, 4] 2、clear: 清 ...
分类:
编程语言 时间:
2020-02-21 22:42:54
阅读次数:
92
domain package cn.it.domain; import java.io.Serializable; import java.util.Date; public class Items implements Serializable { private Integer id; priv ...
分类:
其他好文 时间:
2020-02-21 22:17:13
阅读次数:
71
The input contains N natural (i.e. positive integer) numbers ( N <= 10000 ). Each of that numbers is not greater than 15000. This numbers are not nece ...
分类:
其他好文 时间:
2020-02-21 20:07:51
阅读次数:
74