原创 C++ Windows編程實現貪喫蛇(可用Dev C++實現)

最近學習Windows編程,試着自己做了個簡單的貪喫蛇遊戲。不到300行代碼,把Windows消息機制,繪製方法,多線程等知識都用上了,適合初學者入門。效果圖如下:完整代碼附註釋:#include <windows.h> #include

原创 HDU 2511.漢諾塔 X

題目:http://acm.hdu.edu.cn/showproblem.php?pid=2511 AC代碼(C++): #include <iostream> #include <queue> #include <set> #i

原创 HDU 2564.詞組縮寫

題目:http://acm.hdu.edu.cn/showproblem.php?pid=2564 AC代碼(C++): #include <iostream> #include <queue> #include <string>

原创 HDU 2609.How many

題目:http://acm.hdu.edu.cn/showproblem.php?pid=2609 AC代碼(C++): #include <iostream> #include <queue> #include <set> #i

原创 HDU 2512.一卡通大冒險

題目:http://acm.hdu.edu.cn/showproblem.php?pid=2512 AC代碼(C++): #include <iostream> #include <queue> #include <string>

原创 HDU 2565.放大的X

題目:http://acm.hdu.edu.cn/showproblem.php?pid=2565 AC代碼(C++): #include <iostream> #include <queue> #include <string>

原创 HDU 2572.終曲

題目:http://acm.hdu.edu.cn/showproblem.php?pid=2572 AC代碼(C++): #include <iostream> #include <queue> #include <string>

原创 HDU 2562.奇偶位互換

題目:http://acm.hdu.edu.cn/showproblem.php?pid=2562 AC代碼(C++): #include <iostream> #include <queue> #include <set> #i

原创 ZOJ 1008.Gnome Tetravex

題目:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=1008 AC代碼(C++): #include <iostream> #include <queue

原创 HDU 2569.彼岸

題目:http://acm.hdu.edu.cn/showproblem.php?pid=2569 AC代碼(C++): #include <iostream> #include <queue> #include <string>

原创 HDU 2549.壯志難酬

題目:http://acm.hdu.edu.cn/showproblem.php?pid=2549 AC代碼(C++): #include <iostream> #include <queue> #include <string>

原创 HDU 2719.The Seven Percent Solution

題目:http://acm.hdu.edu.cn/showproblem.php?pid=2719 AC代碼(C++): #include <iostream> #include <queue> #include <set> #i

原创 HDU 2710.Max Factor

題目:http://acm.hdu.edu.cn/showproblem.php?pid=2710 AC代碼(C++): #include <iostream> #include <queue> #include <set> #i

原创 HDU 2708.Vertical Histogram

題目:http://acm.hdu.edu.cn/showproblem.php?pid=2708 AC代碼(C++): #include <iostream> #include <queue> #include <set> #i

原创 HDU 2601.An easy problem

題目:http://acm.hdu.edu.cn/showproblem.php?pid=2601 AC代碼(C++): #include <iostream> #include <queue> #include <string>