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 (
相关文章
相关标签/搜索