# -*- coding: utf-8 -*- import matplotlib.pyplot as plt import random as r p=0.495 p1=0.095 p2=0.745 a=3 b=2 s=0 a1=[0]*100 a2=[0]*100 a32=[0]*100 a22 ...
分类:
其他好文 时间:
2020-01-12 11:21:40
阅读次数:
77
题意: 给出一个边长为a的正方形,其左下角坐标为(0,0),右上角坐标为(a,a)。 此外,再给出一个边长为b的小正方形,以及它的左下角坐标(x,y),其右上角。 坐标为(x+b,y+b),并且保证小正方形一定在大正方形内(有可能会与大正方形的边重合,但不会超出大正方形)。 问是否存在一个在顶点都在 ...
分类:
其他好文 时间:
2020-01-11 11:40:48
阅读次数:
53
21. 合并两个有序链表 https://leetcode cn.com/problems/merge two sorted lists/ | 难度 | 完成日期 | 耗时 | 提交次数 | | | | | | | 简单 | 2020 1 10 | 0.5 小时 | 1 | 问题描述 将两个有序链表 ...
分类:
其他好文 时间:
2020-01-10 23:48:52
阅读次数:
92
废话不多说,直接上代码(工具类): public static Object[] combineArray(Object one[], Object two[]) throws BussinessException { Object res[] = null; if(one != null && o ...
分类:
编程语言 时间:
2020-01-10 20:13:42
阅读次数:
104
事务的概念事务是一种机制,一个操作序列,包含了一组数据库操作命令,并且把所有命令作为一个整体一起想系统提交或撤销操作请求,即这一组数据库命令要么都执行,要么都不执行,事务是一个不可分割的工作逻辑单元,在数据库系统上执行并发操作时,事务是最小的控制单元,事务适用于用户同时操作数据库系统的场景,如银行,保险公司以及证券交易系统等,通过事务的整体以保证数据的一致性,事务是保证了一组操作的平稳性和可预测性
分类:
数据库 时间:
2020-01-10 18:37:27
阅读次数:
90
一 知识背景 3D scan&cloud points(点云)patch-based features,fully convolutional network, deep metric learning, sparse tensors,sparse convolutions, hard negeti ...
分类:
其他好文 时间:
2020-01-09 01:23:53
阅读次数:
148
int ledPin = 3; // 使用引脚号 void setup() { // nothing happens in setup } void loop() { // fade in from min to max in increments of 5 points: for (int fad ...
分类:
其他好文 时间:
2020-01-08 14:29:20
阅读次数:
80
1、plugins MyBatis官网对于plugins的描述是这样的: MyBatis allows you to intercept calls to at certain points within the execution of a mapped statement. By default ...
分类:
数据库 时间:
2020-01-08 12:22:14
阅读次数:
89
非coding shortcuts Ctrl+\ to split the active editor into two. in the Quick Open (Ctrl+P) file list. 快速打开最近所用的文件。 side by side 肩并肩,同一排 安装Ctrl 选择多个文件,然后 ...
分类:
其他好文 时间:
2020-01-08 00:41:28
阅读次数:
92
An undirected graph is a graph where the pairings representing the edges are _____________. Unordered无序 Two vertices in a graph are ___________ if the ...
分类:
其他好文 时间:
2020-01-07 00:54:31
阅读次数:
61