2013-11-16 17:43 原题传送门http://www.lydsy.com/JudgeOnline/problem.php?id=1053 因为使pi(prime[i])<20亿的i不会太大,大概二十几,所以直接搜就行了 //By BLADEVIL var n :int64; prime :..] of longint; mindiv :..] of longint; i, j :longint; ansnum, ansx :int64; procedure dfs(d,p,sum,a…