错误提示:file /etc/my.cnf conflicts between attempted installs of mysql-community-server-8.0.16-2.el7.x86_64 and MariaDB-common-10.4.6-1.el7.centos.x86_64 ...
分类:
数据库 时间:
2019-07-11 09:54:33
阅读次数:
263
springboot+支付宝完成秒杀项目的初体验 思考的问题: 首先是秒杀的商品查询,考虑到是热点数据,所以写一个接口读取当日批次的秒杀商品到redis中(那么接下来对商品的操作都放入redis中)。 当用户抢购商品时,考虑到的是是否在秒杀时间段内以及商品是抢完的问题。首先需要判断该商品是否在秒杀时 ...
分类:
编程语言 时间:
2019-07-10 18:46:48
阅读次数:
112
On Changing Tree CodeForces - 396C You are given a rooted tree consisting of n vertices numbered from 1 to n. The root of the tree is a vertex number ...
分类:
其他好文 时间:
2019-07-08 19:25:00
阅读次数:
85
Linear algebra is the branch of mathematics concerning vector spaces and linear mappings between such spaces. It includes the study of lines, planes, ... ...
分类:
其他好文 时间:
2019-07-07 17:34:58
阅读次数:
79
Computing the cross correlation function is useful for finding the time delay offset between two time series. Python has the numpy.correlate function. ...
分类:
其他好文 时间:
2019-07-07 16:03:46
阅读次数:
148
reference to '……' is ambiguous —— '……'与库重名 —— 修改变量名 ISO C++ forbids comparison between pointer and integer —— 不同类型的数据无法比较 ...
分类:
其他好文 时间:
2019-07-07 13:02:01
阅读次数:
108
原题链接在这里:https://leetcode.com/problems/maximum-difference-between-node-and-ancestor/ 题目: Given the root of a binary tree, find the maximum value V for ...
分类:
其他好文 时间:
2019-07-07 09:48:28
阅读次数:
124
/** * Definition for singly-linked list. * public class ListNode { * int val; * ListNode next; * ListNode(int x) { val = x; } * } */ class Solution { ... ...
分类:
其他好文 时间:
2019-07-06 20:59:07
阅读次数:
252
lt 小于, lte 小于等于exact 准确查找,不加双下划线相当于exactiexact 大小写不敏感contains 大小写敏感的icontains 大小写不敏感startwith, endwithin 在给定的列表中gt 大于,gte 大于等于range <–>between anddate ...
分类:
其他好文 时间:
2019-07-05 00:17:48
阅读次数:
151
算数运算符 + - * / DIV % MOD 比较运算符 = <> != <=>(安全等于,NULL<=>NULL返回1) < <= > >= BETWEEN IN 'IS NULL' 'IS NOT NULL' LIKE REGEXP RLIKE 逻辑运算符 NOT ! AND && OR || ...
分类:
数据库 时间:
2019-07-04 14:35:18
阅读次数:
163