Time of Update: 2014-11-07
標籤:blog http io 使用 sp 資料 on log cti
Time of Update: 2014-11-07
標籤:style blog io color ar os 使用 sp div 當View上using一些從probing
Time of Update: 2014-11-07
標籤:discuz style 使用 java sp strong 資料 on 問題 本人小菜鳥一隻,為了自我學習和交流PHP(jquery,linux,lamp,shell,javascrip
Time of Update: 2014-11-07
標籤:style color ar 使用 java sp strong div on 註:$("#tt")擷取的永遠是對象,即時網頁上沒有此元素。因此當要用jQuery檢查某個元素在網頁上是否存
Time of Update: 2014-11-07
標籤:erlang php ??一般來說網路通訊常用的方式有2種:文本通訊和二進位通訊。php與erlang之間實現文本通訊比較簡單,這裡就不做討論,本文主要討論的是php與erlang實現二進位通訊的實現方法。實現步驟如下:erlang端代碼:-module(server).-export([start/0]).-define( UINT, 32/unsigned-little-integer).-define( INT, 3
Time of Update: 2014-11-07
標籤:des http io ar java sp for on cti IDE(整合式開發環境)或換句話說PHP編輯器是開發人員在構建移動或Web應用必不可少的工具。在這篇文章中,我們將討論
Time of Update: 2014-11-07
標籤:android style http io color ar os java sp 為什麼搞WebKit如今研究WebKit的人越來越多,俺不能免俗,也增加當中。WebKit的火爆也是得益
Time of Update: 2014-11-07
標籤:io os on bs ef as text c class CSS定位Static 預設定位Relative 相對定位:left 和topposition:
Time of Update: 2014-11-07
標籤:des android style http io color ar sp strong <!--[if lt IE 7 ]><html
Time of Update: 2014-11-07
標籤:blog http ar 使用 sp on 2014 log bs 什麼是行間距?古時候我們使用印刷機來出來文字。印刷出來的每個字,都位於獨立的一個塊中。行間距,即傳說中控制兩行文字垂直距
Time of Update: 2014-11-07
標籤:des style blog http io color ar os 使用 1:引用ZTree.js 和css檔案2:前台代碼:<pre name="code"
Time of Update: 2014-11-07
標籤:phpstorm快速鍵phpstorm快速鍵:// ctrl+shift+n 尋找檔案// ctrl+j 插入活動代碼提示// ctrl+alt+t 當前位置插入環繞代碼// alt+insert 產生代碼菜單// ctrl+q 查看代碼注釋// ctrl+d 複製當前行// ctrl+y 刪除當前行// shift+F6 重新命名//
Time of Update: 2014-11-07
標籤:io ar java sp for div on log cti argument說明: 在JavaScript中,arguments是對象的一個特殊屬性。arguments對象就像數組
Time of Update: 2014-11-07
標籤:frame 通訊 超連結 架構和body只能有一個<frameset cols rows ></frameset> 架構有常用兩個屬性 設定子架構的比例對於內聯 架構只能寫在body裡面 因為架構裡只有frame 設定架構的時候 是通過兩個行和列的屬性設定並用<frame>
Time of Update: 2014-11-07
css3 動態背景,css3動態動態背景利用多層背景的交替淡入淡出,實現一種背景在不停變換的效果,先看圖。 :DEMO地址步驟1.利用css的radial-gradient建立一個鏡像漸層的背景。其中的80% 20%為漸層中心的x,y位置。具體的radial-gradient用法可以參見這裡.dynbg__bg{ position: absolute; top: 0px; left: 0px; width:100%; height:100%;
Time of Update: 2014-11-07
struts2通過<s:tree>建立樹形結構,struts2樹形1.引入標籤:<%@ taglib prefix="sd" uri="/struts-dojo-tags" %>2.引入jar包:struts2-dojo-plugin-2.2.3.jar3.在<head>中加入<sd:head/>4.前台代碼: <sd:tree id="a"
Time of Update: 2014-11-07
HDU 1431 素數迴文,有人問我這個問題。個人感覺暴搜會TLE O(n*sqrt(n))。n=100000000;(判斷素數用2~sqrt(n)+1 去除)還是枚舉好了。枚舉 1~10000,把他每一位存下來,迴文數已知 left ,求 right ,然後組合起來。例如 1 ,判斷 11 是否素數。例如 10 ,判斷 101 是否素數, 判斷 1001 是否素數。這樣複雜度就是 O(n^2)。 開始我 bool pa[100000000] 準備用標記來確定。結果MLE。然後算了一下
Time of Update: 2014-11-07
POJ3311——Hie with the Pie,poj3311hieHie with the PieTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 4646 Accepted: 2457DescriptionThe Pizazz Pizzeria prides itself in delivering pizzas to its customers as fast as possible.
Time of Update: 2014-11-07
[容斥原理] hdu 1796 How many integers can you find,hduintegers題意:給一個N,然後給M個數,問1~N-1裡面有多少個數能被這M個數中一個或多個數整除。思路:首先要N--然後對於每個數M 其實1~N-1內能被其整除的 就是有(N-1)/M[i]個但是會出現重複 比如 範例 6就會被重複算 這時候我們就需要容斥原理了加上一個數的減去兩個數的。。這裡要注意了 兩個數以上的時候 是求LCM而不是簡單的相乘!代碼:#include
Time of Update: 2014-11-07
effective C++ 讀書筆記 條款20,effective讀書筆記條款20:寧以 pass-by-reference-to-const 替換 pass -by -value1:採用後者效率高;看代碼:#include <iostream>using namespace std;class Person {public:Person(){cout<<"Person()"<<endl;}Person(const Person&