原创 5.28 JSP+Struts2+Spring

1、  響應式設計       http://www.csdn.net/article/2013-05-25/2815431 http://bradfrost.github.io/this-is-responsive/index.html

原创 5.23-5.26

2013年5月23日 Json http://www.ibm.com/developerworks/cn/web/wa-lo-json/   Json入門指南 只需將其賦值給一個 JavaScript 變量,就可以立刻使用該變量並更新頁面

原创 ACM入門--喫糖果

題目: HOJ1205-喫糖果-習慣相鄰的兩個糖果不一樣 代碼: #include<iostream> using namespace std; int Arr[1000200]; int main() { int t; int

原创 最小公倍數--結果超出int表示範圍

寫代碼時,要注意各種數據類型表示的範圍,求最小公倍數,如果求的數值比較大時,就要注意超出表示範圍的可能,數據開大一點。 //WA #include<iostream> using namespace std; long long GCD

原创 ACM--Children’s Queue

題目背景: 歷次修改代碼: #include<iostream> #include<string> using namespace std; string getCnt(int); string sumString(string, s

原创 ACM--再說利用數組存儲計算過程對程序效率帶來的好處

題目背景: 解法一: #include<iostream> using namespace std; int main() { long long getStep(int, int); int n,a,b; cin>>n; wh

原创 ACM--遞歸效率的比較

測試用例: 2 1 2 3 50 改進前的代碼(用遞歸的方法): #include<iostream> using namespace std; int main() { long long getStep(int, int); i

原创 5.17-5.20

2013年5月17日 1、  從零開始學習JQuery http://www.cnblogs.com/zhangziqiu/archive/2009/04/30/jQuery-Learn-1.html jQuery插件 圖靈出版社的"jQ

原创 5.16-2

3、  DIV DIV的最終目的是給設計者提供另一種組織形式 1)  區分id和class id是獨一無二的,class可以多次使用 2)  div和span的區別 div是一個塊級元素,可以包含段落、標題、表格,乃至諸如章節、摘要、備註

原创 抽屜原理3--如何處理大容量的

問題癥結:      該題不能像抽屜原理2中,直接開一個1000多的數組來存放答案,直接按下標索引,按照這個方法,需要開的數組太大,1,000,000,000,內存撐不住。 解決辦法:      題目要求直接取最後一位數,所以,10個數字

原创 5.27

2013年5月27日 後臺界面設計:http://www.travisup.com/post/index/17 無後端web應用開發:http://www.aliued.cn/ 有一點設計火花:http://aliued.cn/share

原创 5.22

4、  草根站長類論壇 http://www.chinaz.com/news/2012/0802/266454.shtml 5、  ASP+JS動態實現(數據庫)三級聯動下拉菜單 http://www.sjera.com/webcase/

原创 2013.5.13-2003.5.15 學習筆記

學習資料: Github.com Bootstrap Mybatis 很漂亮的網站:http://breadtrip.com/ 1、JavaScript世界的一等公民 - 函數 http://software.intel.com/zh

原创 5.30 Struts2

1、  用struts動態實現JavaScript樹型菜單的簡單例子  http://www.blogjava.net/laoding/articles/228408.html Dtree                 http://d

原创 ACM入門--吃糖果

題目: HOJ1205-吃糖果-習慣相鄰的兩個糖果不一樣 代碼: #include<iostream> using namespace std; int Arr[1000200]; int main() { int t; int