链接: https://vjudge.net/problem/LightOJ 1246 题意: You are given a rectangular board. You are asked to draw M horizontal lines and N vertical lines in th ...
分类:
其他好文 时间:
2019-12-10 22:52:58
阅读次数:
169
map或者对象转换为具有相同字段的对象 List<Example> errorCodeExcelBeanList = JSONObject.parseArray(((JSONObject) resultBean.getData()).get("list").toString(),Example.cl ...
分类:
其他好文 时间:
2019-12-10 21:00:56
阅读次数:
80
parents([expr]) 概述 取得一个包含着所有匹配元素的祖先元素的元素集合(不包含根元素)。可以通过一个可选的表达式进行筛选。大理石平台检定规程 参数 exprStringV1.0 用于筛选祖先元素的表达式 示例 描述: 找到每个span元素的所有祖先元素。 HTML 代码: <html> ...
分类:
其他好文 时间:
2019-12-10 17:11:01
阅读次数:
89
import tk.mybatis.mapper.entity.Example; //此包是tk下的1.定义一个dao层接口不需要任何方法 需要继承Mapper<类型> 2.在service中注入dao import com.alibaba.dubbo.config.annotation.Servi ...
分类:
移动开发 时间:
2019-12-10 17:07:53
阅读次数:
105
parent([expr]) 概述 取得一个包含着所有匹配元素的唯一父元素的元素集合。大理石构件 你可以使用可选的表达式来筛选。 参数 exprStringV1.0 用来筛选的表达式 示例 描述: 查找每个段落的父元素 HTML 代码: <div><p>Hello</p><p>Hello</p></ ...
分类:
其他好文 时间:
2019-12-10 16:44:57
阅读次数:
64
Shared variable in python's multiprocessing https://www.programcreek.com/python/example/58176/multiprocessing.Value https://docs.python.org/zh-cn/3.7/ ...
分类:
编程语言 时间:
2019-12-10 15:15:29
阅读次数:
114
原题链接在这里:https://leetcode.com/problems/diagonal-traverse/ 题目: Given a matrix of M x N elements (M rows, N columns), return all elements of the matrix i ...
分类:
其他好文 时间:
2019-12-10 13:02:21
阅读次数:
98
Problem Statement Given a matrix of m x n elements (m rows, n columns), return all elements of the matrix in spiral order. Example 1: Input: [ [ 1, 2, ...
分类:
其他好文 时间:
2019-12-10 12:49:52
阅读次数:
109
1、打开C:\Windows\System32\drivers\etc目录 2、去掉hosts文件的只读属性 3、添加dns解析配置 4、刷新dns缓存。打开cmd命令行,输入ipconfig /flushdns命令。 5、访问http://www.example.com:8080/(hosts文件 ...
"gin参考" Gin框架返回值 // 返回json func main() { r := gin.Default() //方法一: 自己拼接json // gin.H is a shortcut for map[string]interface{} r.GET("/someJSON", func( ...
分类:
其他好文 时间:
2019-12-10 00:31:33
阅读次数:
102