@Override @Transactional public <S extends E> List<S> save(Iterable<S> entities) { List<S> result = new ArrayList<>(); if (entities == null) { return ...
分类:
其他好文 时间:
2017-08-07 13:47:48
阅读次数:
139
//HTML部分: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http: ...
分类:
Web程序 时间:
2017-08-07 13:35:35
阅读次数:
198
html代码 js代码 php代码 model代码 ...
分类:
Web程序 时间:
2017-08-07 13:26:44
阅读次数:
163
数论题还是好恶心啊。 题目大意:给你两个不超过1e12的数 x,y,定义一个f ( x, y ) 如果y==0 返回 0 否则返回1+ f ( x , y - gcd( x , y ) ); 思路:我们设gcd ( x , y) 为G,那么 设 x = A*G,y = B*G,我们考虑减去多少个G时 ...
分类:
其他好文 时间:
2017-08-07 11:42:34
阅读次数:
130
I figure life is a gift and I don't intend on wasting it. 我觉得生命是一份礼物,我不想浪费它。 It seems that I didn't think life is a gift, and I take the time and life ...
分类:
其他好文 时间:
2017-08-07 10:19:31
阅读次数:
102
先说个小插曲,前几天有个网站转载我的文章没有署名作者,我有点不开心就给他们留言了,然后今天一看他们把文章删了。其实我的意思并不是你允许转载,我想表达的是我的付出需要被尊重。也不知道是谁的错~ 官网上的入门教程非常简单,如下: 学习Zookeeper 使用Curator的用户默认是了解Zookeepe ...
分类:
其他好文 时间:
2017-08-07 10:09:53
阅读次数:
150
Egret 之 消除游戏 开发 PART 6 Egret elimination game development PART 6 作者:韩梦飞沙 Author:han_meng_fei_sha 邮箱:313134555@qq.com E-mail: 313134555 @qq.com E-mail: ...
分类:
其他好文 时间:
2017-08-07 10:01:58
阅读次数:
177
用到了Divide and Conquer, 跟 Leetcode: Unique Binary Search Trees II 很像 在input string里遍历各个operator, 依据每个operator分成左右子串,左右子串做递归返回所有可能的results,然后全排列。 注意很巧妙的 ...
分类:
其他好文 时间:
2017-08-07 01:34:46
阅读次数:
193