Time of Update: 2014-10-09
標籤:style blog color io ar sp div c 問題 先看代碼:1 $(".verify_img").click(function(){2 var
Time of Update: 2014-10-09
標籤:style io os 使用 ar for 檔案 sp c Guidelines for animationUse CSS keyframe animation or CSS
Time of Update: 2014-10-09
標籤:http os ar 檔案 sp art c 問題 on 最近裝了ubuntu.初次接觸linux系統遇到一些問題。這裡一一記錄下。我裝的是nginx php
Time of Update: 2014-10-09
標籤:style color io ar java sp c on cti <script type="text/javascript"> function
Time of Update: 2014-10-09
標籤:style os 使用 for c 問題 on 代碼 html 預設情況下,通過HTML代碼的BODY標籤設定好背景圖片<body background="x.jpg"> 後,
Time of Update: 2014-10-09
標籤:des style blog color io os 使用 ar java C#處理json檔案主要有兩種方式: (1)使用JavaScriptSerializer類,需要引入Sys
Time of Update: 2014-10-09
標籤:style blog color io os ar strong sp div 最近一直在筆試面試,經常碰到例如
Time of Update: 2014-10-09
標籤:des style blog http color io os 使用 ar JSP的開頭內容:1 <%@ page language="java"
Time of Update: 2014-10-09
標籤:php數組數組內部製造控制函數current():取得數組當前位置的值key():取得數組當前位置的索引值next():將數組指標向後移一位prev():將數組指標向前移動一位end():將數組指標移動到最後一個元素reset():將數組指標移動到第一個元素索引值操作函數array_values():獲得數組所有元素的索引值,並返回一個重新索引的數組。array_keys():獲得數組所有元素的鍵名,並返回一個重新索引的數組,以剛才得到的鍵名作為新數組的索引值in_array():檢查某個
Time of Update: 2014-10-09
標籤:解決問題 屏蔽廣告 安秋子 收穫幸福的教育 很喜歡新浪等一些部落格上的文章,如伯樂線上、翻譯《收穫幸福的教育》的譯者安秋子部落格。但瀏覽文章時經常會有很多彈窗廣告,很影響我們的心情與效果。
Time of Update: 2014-10-09
標籤:php 面試題 自增語句 首先看一道面試題: $a = 1; $b = &$a; if ($b == $a++) echo "true"; else echo "false";首先,建立了一個變數$a,並且將數值設定為了1;然後,建立了一個變數$b,並將其作為對$a的一個引用;
Time of Update: 2014-10-09
Reorder List [leetcode] 的兩種思路,reorderleetcode第一種思路是用一個vector存所有的Node*之後再用兩個指標將鏈表拼接出來 void reorderList(ListNode *head) { vector<ListNode*> content; ListNode * cur = head; while (cur) { content.push_back(
Time of Update: 2014-10-09
HDU 4337 King Arthur's Knights 輸出一條哈密頓迴路,hdu哈密n個點m條無向邊輸出一條哈密頓迴路#include <cstdio>#include <cstring>#include <iostream>using namespace std;const int N = 155;int n, m;bool mp[N][N];int S, T, top, Stack[N];bool vis[N];void _reverse(
Time of Update: 2014-10-09
HDU 5042 GCD pair 預先處理+二分 分段,hdu5042點擊開啟連結#include <stdio.h>#include <string.h>#include <iostream>#include <cmath>#include <algorithm>#include <vector>using namespace std;typedef long long ll;ll gcd(ll x, ll y){
Time of Update: 2014-10-09
HDU 1133 Buy the Ticket 卡特蘭數,hdu1133設50元的人為+1 100元的人為-1 滿足前任意k個人的和大於等於0 卡特蘭數C(n+m, m)-C(n+m, m+1)*n!*m!import java.math.*;import java.util.*;public class Main { /** * @param args */ public static void main(String[] args)
Time of Update: 2014-10-09
Leetcode,leetcodeojAlgorithm: Iterate and copy the original list first. For the random pointer, just copy the value from the original list first. And use a map to store each node's old address and its corresponding new address. After the iteration,
Time of Update: 2014-10-09
Codeforces 358 D. Dima and Hares,codeforcesdimadp[i][0]表示i號兔子先於i-1號兔子餵食,dp[i][1]反過來.倒著DPD. Dima and Harestime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputDima liked the present he got from Inna
Time of Update: 2014-10-09
java線程池筆記,java線程池java線程池是預先建立線程的一種技術,線程池在還沒有線程到來之前建立一個數量的線程,放在閒置隊列中,然後對這些資源進行複用,減少頻繁的建立和銷毀對象,1.jdk1.5以上提供了現成的線程池2.java線程池的頂級介面是Executor,是一個執行線程的工具3.線程池介面是ExecutorServicejava 怎實現線程池最簡單的可以利用java.util.concurrent.Executors調用Executors.newCachedThreadPool(
Time of Update: 2014-10-09
mac+eclipse+svn+maven經驗總結,svnmaven1、Eclipse for Mac:http://mirrors.ustc.edu.cn/eclipse/technology/epp/downloads/release/indigo/SR2/eclipse-jee-indigo-SR2-macosx-cocoa-x86_64.tar.gz2、Jdk for Mac:http://www.oracle.com/technetwork/java/javase/downloads/
Time of Update: 2014-10-09
SICP 習題 (2.8) 解題總結:區間的減法,sicp2.8SICP 習題 2.8 需要我們完成區間運算的減法,區間運算的加法書中已經有了,代碼如下:(define (add-interval x y) (make-interval (+ (lower-bound x) (lower-bound y)) (+ (upper-bound x) (upper-bound