C++中的轉型操作符:static_case const_cast dynamic_cast reinterpret_c
C++通過引進四個新的類型轉換操作符克服了C風格類型轉換的缺點,這四個操作符是: const_cast( expressi
ZOJ Monthly, March 2013
A A Simple Tree Problem 線段樹成段更新 以前做過差不多的一題蘋果樹 dfs一次然後可以轉化成一維線段樹 好像叫時間戳。。。 #in
DP32 單詞按照字典分割問題 Word Break Problem @geeksforgeeks
Given an input string and a dictionary of words, find out if the input stri
DP33 兩個字符串交叉得到的字符串 Find if a string is interleaved of two ot
Given three strings A, B and C. Write a function that checks whether C is an
DP34 流水線調度問題 Assembly Line Scheduling @geeksforgeeks
A car factory has two assembly lines, each with n stations. A station is de
DP35 最長等差數列 Longest Arithmetic Progression @geeksforgeeks
在一個有序數組裡找等差數列,用3個指針,以中間指針為基准,移動前後指針。 Given a set of numbers, find the Le
深入淺出話VC++(2)——MFC的本質
一、引言 上一專題中,純手動地完成了一個Windows應用程序,然而,在實際開發中,我們大多數都是使用已有的類庫來開發Windows應用程序。MFC(Micro
x01.Game.LitSkull: 梯次防御
1.人要有點精神 人要有點精神,否則,不是淪落為毫無意義的看客,就是退化成食色性也的動物,有被開除球籍的危險,如晚清。 2.框架 引號頭文件在當前目錄下搜尋,三
跟我一起學STL(2)——vector容器詳解
一、引言 在上一個專題中,我們介紹了STL中的六大組件,其中容器組件是大多數人經常使用的,因為STL容器是把運用最廣的數據結構實現出來,所以我們寫應用程序時運用