原创 定義抽象數據類型&訪問控制與封裝
C++ Primer代碼註釋 僅供參考 //s7 抽象結構類型 #include <iostream> #include <cstdio> #include <string> struct sales_data { friend sal
原创 Ubuntu16.04正確配置MySQL(慘痛經歷)
在網上各種不全的資料下,兩個小時的結果,希望大家不要採坑. 1.安裝 $ sudo apt-get update $ sudo apt-get install mysql-server $ sudo mysql_secure_insta
原创 POJ - 2823 Sliding Window(單調隊列)
An array of size n ≤ 10 6 is given to you. There is a sliding window of size k which is moving from the very left of t