標籤:http://www.360doc.com/content/13/1222/22/14022539_339358149.shtml開始的時候在jQuery.1.7.1中使用了.live()覺得很好用,特別是在綁定事件之後再加入的元素的事件綁定上很方便(第一次live之後以後添加的元素就不需要綁定啦)後來jQuery更新到1.9.1,頁面中的.live報錯:"has no method live",
codeforces--507A--A. Amr and Music--507B--B. Amr and Pins,codeforcesA. Amr and Musictime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAmr is a young coder who likes music a lot. He always wanted to
[LeetCode]17.Letter Combinations of a Phone Number,leetcode17.letter【題目】Given a digit string, return all possible letter combinations that the number could represent.A mapping of digit to letters (just like on the telephone buttons) is given
POJ 3715 Blue and Red 二分圖,poj3715說是有一個軍事演習n個士兵,其中有m個關係表示某兩個人是好友現在士兵已經分好了兩組了,用來進行對抗,但是這兩組之間可能有好友,會影響軍事演習的情況所以要去掉盡量少的人,使得這個兩組之間沒有好友。那麼題目給了一個分組方案了, 但是不同組之間可能有好友,我們就要在這些個不同組的好友之間 連邊然後求二分圖最大匹配,求出來的結果就是要去掉的人數但是題目又要求字典序要最小。那我們就從序號小的開始枚舉,
JSP 2.x 自訂標籤,jsp2.x自訂標籤JSP 1.x的標籤,雖然使用起來非常靈活,但是比較複雜,JSP 2.x提供了一組簡化的標籤寫法SimpleTagSupport是SimpleTag介面的子類,同時支援參數和標籤體,最核心的方法時doTage public AddTag extends SimpleTagSupport{ private int num1; private int num2; public void doTag()
linux學習之shell指令碼,linuxshell指令碼[本文是自己學習所做筆記,歡迎轉載,但請註明出處:http://blog.csdn.net/jesson20121020]今天開始學一些同其他進階語言一樣的shell流量控制結構流量控制語句: 1. if語句 語句格式: if condition1 then command1else condition2then command2else