2011-04-11から1日間の記事一覧

動的計画法

最近アルゴリズムの問題をを解けなかったが他人のコードを分析しようとしました。The problem involves a set of N cows numbered 0...(N-1). The objective is to determine the number of sets of K cows whose sum is a multiple of N. As this number ma…