Codeforces 110B-Lucky String(技巧) B. Lucky String time limit per test 2 secon
Codeforces 112B-Petya and Square(實現) B. Petya and Square time limit per test
ZOJ 3826 Hierarchical Notation(2014 牡丹江 H,字符串模擬) http://acm.zju.edu.cn/online
Codeforces 113A-Grammar Lessons(實現) A. Grammar Lessons time limit per test 5
ZOJ 3822 Domination(概率dp) 概率dp,一開始用了二維超時,後來加了一位記憶化就不超時了啊。dp[x][y][z]代表已經覆蓋了第x行
QMediaPlayer的duration問題 遇到了一個坑QMediaPlayer::duration的坑. 這個坑是當你setMedia之後, 直接使用
HDU2452 Navy maneuvers 記憶化搜索 這題目意思能忍?讀了半年,亂七八糟的 記憶化搜索 拖拖的,dp[i][0]代表以獲得最小Í
zoj 3288 Domination (概率dp) ///dp[i][j][k]表示i行j列已經有棋子,且放了k個的概率 ///dp[i][j][k]一共
[leetcode] path sum @ Python [recursion] Given a binary tree and a sum, determ
BZOJ 2599 IOI2011 Race 樹的點分治 題目大意:給出N(1 <= N <= 200000)個結點的樹,求長度等於K(1 <= K <=