I just want to say something about my java project that I did last year. Our task is to finish a linking game. It is a game that you should link all
分类:
其他好文 时间:
2016-03-06 19:00:53
阅读次数:
124
断言assert: 当这个关键字后边的条件为假时,程序自动崩溃并提示AssertionError的异常,条件为真时跳过 1 >>> assert 3>5 2 Traceback (most recent call last): 3 File "<pyshell#1>", line 1, in <mo
分类:
其他好文 时间:
2016-03-06 14:06:21
阅读次数:
132
一. public intfindLast(int[] x, inty) {//Effects: If x==null throwNullPointerException// else return the index of the last element// in x that equals y
分类:
其他好文 时间:
2016-03-06 12:39:18
阅读次数:
185
ubuntu上跑python连接pg,报错 ImportError: No module named psycopg2 root@pgproxy1:~# python /home/zxw/PGWriterTest_m.py Traceback (most recent call last): Fil
分类:
编程语言 时间:
2016-03-05 10:16:52
阅读次数:
326
题目:
Given a string s consists of upper/lower-case alphabets and empty space characters ’ ‘, return the length of last word in the string.If the last word does not exist, return 0.Note: A word is defin...
分类:
其他好文 时间:
2016-03-04 17:51:09
阅读次数:
108
JDBC中的ResultSet API没有直接获取记录条数的方法,现介绍几个: 方法一:利用ResultSet的getRow方法来获得ResultSet的总行数 ResultSet rs = ps.executeQuery(sql); rs.last(); //移到最后一行 int rowCount
分类:
其他好文 时间:
2016-03-04 16:15:57
阅读次数:
118
目录=========================================1.窗口函数简介 2.窗口函数示例-全统计 3.窗口函数进阶-滚动统计(累积/均值) 4.窗口函数进阶-根据时间范围统计 5.窗口函数进阶-first_value/last_value 6.窗口函数进阶-比较相邻记
分类:
数据库 时间:
2016-03-03 22:34:49
阅读次数:
563
原题链接在这里:https://leetcode.com/problems/unique-word-abbreviation/ 题目: An abbreviation of a word follows the form <first letter><number><last letter>. Be
分类:
其他好文 时间:
2016-03-03 13:13:00
阅读次数:
154
Find the nth to last element of a singly linked list. The minimum number of nodes in list is n. Given a List 3->2->1->5->null and n = 2, return node w
分类:
其他好文 时间:
2016-03-03 07:58:08
阅读次数:
138
1.默认的padding和margin值 解决方法:css开头写*{margin:0;padding:0;} 2.placeholder IE8下不支持HTML5属性placeholder 3.last-child IE8不兼容last-child。可以给最后一个元素设置一个.last的class。
分类:
Web程序 时间:
2016-03-02 13:00:37
阅读次数:
125