24h購物| | PChome| 登入
與好友分享這篇文章

[UVA][DP] 10081 - Tight Words

Problem B: Tight words Given is an alphabet {0, 1, ... , k}, 0 <= k <= 9 . We say that a word of length n over this alphabet is tight if any two neighbour digits in the word do not differ by more than 1. Input is a sequence of lines, each line contains two intege...

新聞台: Morris' Blog | 台長:Morris
收件者E-mail:

請以分號區隔每個E-mail
例如:john@pchome.com.tw;mary@pchome.com.tw
信件標題:
與你分享這篇文章
訊息內容:
很精采的好文章!
如果你也喜歡,請轉寄給好友幫忙增加人氣吧!
您的名字:
Morris
TOP