VC中多字節環境下CString轉char*的方法
在VC編程中,經常要用到字符串的轉換,可以說,字符串轉換對於VC新手甚至是老手也都是一個比較頭疼的問題。在多字節環境下下也就是用ASCII環境下,Cstr
HDU1059 && POJ1014 :Dividing(多重背包)
Problem Description Marsha and Bill own a collection of marbles. They want to
HDU 2196 Computer - from lanshui_Yang
Problem Description A school bought the first computer some time ago(so this
poj2486 Apple Tree (樹形dp)
題意:有一顆蘋果樹,樹上的u節點上有num[u]個蘋果,樹根為1號節點,囧king從根開始走,沒走到一個節點就把接點上的蘋果吃光,問囧king在不超過k步
POJ 3318 - Matrix Multiplication 第一次用隨機化解決問題...
隨機化還是很厲害的...印象最深的是以前手寫快排~~一般加個隨機化會使耗時不受輸入數據的..時間更加穩定
多校聯合練習賽1 Problem1005 Deque LIS+LDS 再加一系列優化
Deque Time Limit: 4000/2000 MS (Java/Others) Memory Limit:
UVA 10487 - Closest Sums
Closest Sums Input: standard input Output: standard output Time Limit: 3 seco