原创 Codeforces Round #221 (Div. 2)-C. Divisible by Seven

原題鏈接 C. Divisible by Seven time limit per test 1 second memory limit per test 256 megabytes input standard

原创 Codeforces Round #415 (Div. 2)-C. Do you want a date?

原題鏈接 C. Do you want a date? time limit per test 2 seconds memory limit per test 256 megabytes input standard in

原创 Linux下undefined reference to ‘pthread_create’問題解決接觸了Linux系統編程中的線程編程模塊,可gcc sample.c(習慣把書上的sample代碼寫

接觸了Linux系統編程中的線程編程模塊,可gcc sample.c(習慣把書上的sample代碼寫進sample.c文件中)出現“undefined reference to ‘pthread_create’”,所有關於線程的函數都會

原创 Codeforces Round #256 (Div. 2)-C. Painting Fence

原題鏈接 C. Painting Fence time limit per test 1 second memory limit per test 512 megabytes input standard inp

原创 block,inline和inline-block概念和區別

總體概念 block和inline這兩個概念是簡略的說法,完整確切的說應該是 block-level elements (塊級元素) 和 inline elements (內聯元素)。block元素通常被現實爲獨立的一塊,會單獨換一

原创 Educational Codeforces Round 17-D. Maximum path

原題鏈接 D. Maximum path time limit per test 1 second memory limit per test 256 megabytes input standard input ou

原创 Codeforces Round #290 (Div. 2)-D. Fox And Jumping

原題鏈接 D. Fox And Jumping time limit per test 2 seconds memory limit per test 256 megabytes input standard input

原创 什麼是SQL SERVER實例

 SQL SERVER實例 --------------------------------------------------------------------------------------       所謂“SQL實例”,實際

原创 正規式轉確定有窮自動機(NFA)

博文轉自: http://www.cnblogs.com/cute/p/4021689.html 整體的步驟是三步:  一,先把正規式轉換爲NFA(非確定有窮自動機),  二,在把NFA通過“子集構造法”轉化爲DFA,  三,在把DF

原创 安裝完sql server2008後系統80端口 被佔用 解決方案

咱還是閒話少說,直接切入正題。 起因: 一直用Tomcat,但是前幾天突然報錯:           java.net.BindException: Address already in use: JVM_Bind:80 第一反應就

原创 HAUTOJ-1267 ch追妹

原題鏈接 1267: ch追妹 時間限制: 2 秒  內存限制: 128 MB 提交: 153  解決: 66提交 狀態  題目描述 n個點的一張無向圖,ch站在a點,ch要追的妹子站在b點。r_clover爲了讓ch安心訓練,要阻

原创 Codeforces Round #146 (Div. 2)-C. LCM Challenge

原題鏈接 C. LCM Challenge time limit per test 2 seconds memory limit per test 256 megabytes input standard input

原创 Codeforces Round #395 (Div. 2)-D. Timofey and rectangles

原題鏈接 D. Timofey and rectangles time limit per test 2 seconds memory limit per test 256 megabytes input sta

原创 PHP5.6.15連接Sql Server 2008配置方案

php5.6的如果想連接Sql Server 2008數據庫,需要手動配置擴展和安裝一個驅動。 下載SQL Server Driver for PHP的擴展包,64位系統的官方不支持,找到一個非官方的: http://pan.bai

原创 Educational Codeforces Round 18 D. Paths in a Complete Binary Tree

原題鏈接 D. Paths in a Complete Binary Tree time limit per test 3 seconds memory limit per test 256 megabytes