“科大讯飞杯”第18届上海大学程序设计联赛春季赛暨高校网络友谊赛 ...
分类:
其他好文 时间:
2020-05-11 01:16:24
阅读次数:
92
Thu May 12 2016 08:00:00 GMT+0800 (中国标准时间)标准时间转==>非标准时间 let date = new Date()let d = new Date(date);let datetime=d.getFullYear() + '-' + (d.getMonth() ...
分类:
Web程序 时间:
2020-05-10 19:20:35
阅读次数:
79
months = {'JAN' : 1, 'FEB' : 2, 'MAR' : 3, 'APR' : 4, 'MAY' : 5, 'JUN' : 6, 'JUL' : 7, 'AUG' : 8, 'SEP' : 9, 'OCT': 10, 'NOV': 11, 'DEC' : 12} def tes ...
分类:
编程语言 时间:
2020-05-10 13:19:10
阅读次数:
84
var SIMPLE_NORMALIZE = 1; var ALWAYS_NORMALIZE = 2; // wrapper function for providing a more flexible interface // without getting yelled at by flow c ...
分类:
其他好文 时间:
2020-05-10 13:18:06
阅读次数:
100
两种解法: 1.单独判断1,二分法在范围[2,num/2]搜索,如果平方与num相等,则返回true 2.牛顿法 JAVA class Solution { public boolean isPerfectSquare(int num) { if(num == 1) return true; lon ...
分类:
其他好文 时间:
2020-05-10 10:37:24
阅读次数:
59
Clock skew detected. Your build may be incomplete 这个错误是由于系统时间比文件修改时间早造成的 解决办法一 使用touch命令修改文件的时间 解决方法二 重新设置系统的时间 ...
分类:
其他好文 时间:
2020-05-10 01:26:31
阅读次数:
60
错误信息 最近将测试环境做了迁移,发现在执行某一条未作任何改动的sql时,出现如下错误: ### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Expression #7 of SELECT list is not ...
分类:
数据库 时间:
2020-05-09 20:52:48
阅读次数:
86
Sat May 09 15:57:04 2020Non critical error ORA-48913 caught while writing to trace file "/u01/app/oracle/diag/rdbms/mdb/mdb/trace/mdb_dbrm_7134.trc"Er ...
分类:
数据库 时间:
2020-05-09 17:15:08
阅读次数:
73
本题用数学方法做即可。 两点确定一条直线,如果点的数量<=2,这些点一定在一条线上。 对于两个以上的点:[[1, 2], [2, 3], [3, 4]] 可以判断斜率是否相等(3-2)/(2-1) == (4-3)/(3-2)。但计算机除法分母不能为0,所以用交叉相乘的方法 (3-2)*(3-2) ...
分类:
其他好文 时间:
2020-05-08 16:16:32
阅读次数:
72