Git冲突:commit your changes or stash them before you can merge. 解决办法 http://www.aikaiyuan.com/8875.html 用git pull来更新代码的时候,遇到了下面的问题: 1 2 3 4 error: Your ...
分类:
其他好文 时间:
2020-07-16 11:59:47
阅读次数:
75
1、The Application of Two-level Attention Models in Deep Convolutional Neural Network for Fine-grained Image Classification 地址:https://arxiv.org/pdf/14 ...
分类:
其他好文 时间:
2020-07-16 00:26:25
阅读次数:
115
1 判断集合元素唯一的原理 1.1 ArrayList的contains方法判断元素是否重复原理 ArrayList的contains方法会使用调用方法时,传入的元素的equals方法依次与集合中的旧元素所比较,从而根据返回的布尔值判断是否有重复元素。此时,当ArrayList存放自定义类型时,由于 ...
分类:
编程语言 时间:
2020-07-15 22:50:31
阅读次数:
68
@Autowired与@Resource的区别 @RequestMapping 作用 ThreadLocal与 synchronized @Required 作用 jvm内存模型-常量存放位置 oracle merge into oracle 游标 mybatis SQLSessionFactory ...
分类:
编程语言 时间:
2020-07-15 16:00:11
阅读次数:
77
1.redis 的数据类型 String 字符串 Hash 哈希 List 列表 Set 集合 ZSet(Sorted Set) 有序集合 2.使用场景 2.1 String 用户token 可以用redis来记录用户token并设置过期时间 小龙测试:0>set 1001 tokenslkdjfl ...
分类:
其他好文 时间:
2020-07-15 15:38:14
阅读次数:
78
Given a string S of lowercase letters, a duplicate removal consists of choosing two adjacent and equal letters, and removing them. We repeatedly make ...
分类:
其他好文 时间:
2020-07-15 13:09:25
阅读次数:
90
Angle Between Hands of a Clock (M) 题目 Given two numbers, hour and minutes. Return the smaller angle (in degrees) formed between the hour and the minut ...
分类:
其他好文 时间:
2020-07-15 10:47:17
阅读次数:
102
给定一个无向图,每条边有一个非负权值。求这个图中最小生成树的所有边的权值之和。生成树是指包含图中所有节点的一棵树,而最小生成树则指一棵所有边的权值之和最小的生成树。 输入 第一行包含两个数,n和m,其中n为节点数,m为边数。下面m行,每行三个非负整数a、b和c,a, b<n,表示a和b之间有一条权值 ...
分类:
其他好文 时间:
2020-07-15 01:32:53
阅读次数:
104
将元组作为一个记录存入列表中: traveler_ids=[('USA','311'),('BRA','342'),('ESP','566')] for passport in sorted(traveler_ids): print("%s%s"%passport) 元组拆包: city,year, ...
分类:
其他好文 时间:
2020-07-15 01:29:17
阅读次数:
87
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in or ...
分类:
其他好文 时间:
2020-07-14 21:56:23
阅读次数:
98