Missing Number [Problem] [Solution2] sum: Time~O(n) Space~O(1) //overflow riskmissing = expected_sum - actual_sum = (0+n)(n+1)/2 - sum [Solution1] xor ...
分类:
其他好文 时间:
2016-09-12 06:15:10
阅读次数:
124
The API: int read4(char *buf) reads 4 characters at a time from a file. The return value is the actual number of characters read. For example, it retu ...
分类:
其他好文 时间:
2016-08-30 07:05:28
阅读次数:
146
The API: int read4(char *buf) reads 4 characters at a time from a file. The return value is the actual number of characters read. For example, it retu ...
分类:
其他好文 时间:
2016-07-25 12:57:24
阅读次数:
113
今晚部署遇到了两个问题。 一是一处由来已久的 bug,原因是我尝试了 DbContext Generator 然后又删掉了它,被提示:Please overwrite the replacement token '$edmxInputFile$' with the actual name of th ...
分类:
Web程序 时间:
2016-07-13 22:38:27
阅读次数:
228
报此错误 :org.springframework.dao.EmptyResultDataAccessException: Incorrect result size: expected 1, actual 0, 查询的结果集 为null,导致报错 ...
分类:
数据库 时间:
2016-07-11 17:07:17
阅读次数:
350
《Jess In Action》58页,这样说?argv:In the body of a defadvice call, the variable ?argv is special: It points to the actual function call being executed。 并给出 ...
分类:
其他好文 时间:
2016-07-10 18:22:35
阅读次数:
150
Unity发布安卓项目,如果直接使用Unity打包APK一切Ok,导出Google项目 使用Idea打包 一进去直接Crash. 报错: 1978-2010/? E/Unity﹕ Invalid serialized file version. File: "/data/app/eran.proje ...
分类:
编程语言 时间:
2016-06-24 17:31:43
阅读次数:
1070
hibernate: bug: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1 solution: hibernate在执行save(Object obj)时,如 ...
分类:
其他好文 时间:
2016-06-17 22:34:02
阅读次数:
243
SELECTREQUEST_ID,a.user_name,f.ACTUAL_START_DATEDATE_STARTED,DECODE(TRUNC(sysdate-ACTUAL_START_DATE),0,NULL,TRUNC(sysdate-f.ACTUAL_START_DATE)||‘Days‘||‘+‘)||TO_CHAR(TO_DATE(TRUNC(MOD(sysdate-f.ACTUAL_START_DATE,1)*86400),‘SSSSS‘),‘HH24:MI:SS‘)REQ_DURATION,..
分类:
其他好文 时间:
2016-06-08 10:53:38
阅读次数:
936
SELECT edr_comm_prem*1.0 as 手续费, EDR_PERFORMANCE_ACTUAL_FEE*1.0 AS 复核绩效, EDR_FULLPERFORMANCE_FEE*1.0 AS 全绩效, EDR_APPROVABLE_ELSE_CHARGE_FEE*1.0 AS 日展费 ...
分类:
其他好文 时间:
2016-06-02 19:42:37
阅读次数:
256