UVa1583 Digit Generator

作業上傳:http://203.68.236.9/problem/a0307

題目:UVa1583

https://onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=4458

解題策略:產生1到100000所能生成的所有數字,只記錄最小的生成元

參考程式碼