Bytelandian gold coins

//http://www.spoj.com/problems/COINS/ #include <iostream> #include <cstdlib> using namespace std; #define MEMOSIZE 1000000 unsigned memo[MEMOSIZE]; unsigned maxprofit(unsigned n) { unsigned s; if (
相關文章
相關標籤/搜索