摘要:
AC代码: 阅读全文
摘要:
Problem Description Recently kiki has nothing to do. While she is bored, an idea appears in his mind, she just playes the checkerboard game.The size o 阅读全文
摘要:
单词: disprove vt. 反驳; 证明…是虚假的; mice n. 老鼠( mouse的名词复数 ); 鼠标; 羞怯[胆小]的人; mouse的复数形式; subset n. 子集; grams n. 克( gram的名词复数 ); centimeters n. 厘米( centimeter 阅读全文
摘要:
这道题如果用动态规划的思想,就很简单;我开始用的是暴力法,一直wa;后来改用动态规划,开始我的内存超了,然后我有吧把Max从10010改成505就过了。 思路: 从后往前进行推导: 当a[i]==b[j]时:dp[i][j]=dp[i-1][j-1]+1; 当a[i]!=b[j]时:dp[i][j] 阅读全文
摘要:
Problem Description Nowadays, a kind of chess game called “Super Jumping! Jumping! Jumping!” is very popular in HDU. Maybe you are a good boy, and kno 阅读全文