先搞个表 sql CREATE TABLE ( int(11) NOT NULL AUTO_INCREMENT, varchar(10) DEFAULT NULL, varchar(10) DEFAULT NULL, date DEFAULT NULL, timestamp NULL DEFAULT ...
分类:
数据库 时间:
2020-04-20 09:13:00
阅读次数:
87
A vertex cover of a graph is a set of vertices such that each edge of the graph is incident to at least one vertex of the set. Now given a graph with ...
分类:
其他好文 时间:
2020-04-20 01:33:53
阅读次数:
85
java.util.Date java.sql.Date 创建日期对象和打印结果 public class DateTest { public static void main(String[] args) { java.util.Date now = new java.util.Date(); S ...
分类:
编程语言 时间:
2020-04-19 18:15:05
阅读次数:
71
ES6赋值语句 不佳的写法 (写法上啰嗦了一些) let count = 5 let color = "blue" let values = [1,2,3] let now = new Date() 改进如下:↓ let [count, color, values, now] = [5, 'blue ...
分类:
编程语言 时间:
2020-04-19 13:12:29
阅读次数:
90
sys.dm_exec_query_profiles:该视图监视sql运行的实时进度。监视sql运行的每一步的详细情况。可以理解为执行计划的每一步的详细信息。区别是执行计划是预估的,这个视图展示的真实的情况。这个视图是sql运行性能剖析的重要的视图。 sys.dm_exec_connections: ...
分类:
数据库 时间:
2020-04-18 22:47:13
阅读次数:
80
Problem : You are given n pairs of numbers. In every pair, the first number is always smaller than the second number. Now, we define a pair (c, d) can ...
分类:
其他好文 时间:
2020-04-18 10:09:19
阅读次数:
67
1.daemon not running; starting now at tcp:5037 环境:macos系统问题:打开网易MUMU模拟器,终端输入adb devices,提示如下ZBMAC-C02N43Mfc:~ zhaitiantian$ adb devices daemon not run ...
分类:
移动开发 时间:
2020-04-13 23:02:11
阅读次数:
138
1、水仙花数 n = int(input()) if n>=3 and n<6: for i in range(10**(n-1),10**n): sum=0 for j in map(int,str(i)): sum=sum+j**n if sum==i: print(i) 2、数列求和 a = ...
分类:
其他好文 时间:
2020-04-13 19:31:10
阅读次数:
78
Problem : The Hamming distance between two integers is the number of positions at which the corresponding bits are different. Now your job is to find ...
分类:
其他好文 时间:
2020-04-13 12:22:42
阅读次数:
64
Programmer Rostislav got seriously interested in the Link/Cut Tree data structure, which is based on Splay trees. Specifically, he is now studying the ...
分类:
其他好文 时间:
2020-04-12 20:18:43
阅读次数:
92