摘要:
第一次直接过,题目虽然简单,但是还是很高兴。最高位只能是{2,3,5,7},其他位只能是{1,3,7,9}/*ID: hubiao cavePROG: sprimeLANG: C++*/#include#include#include#includeusing namespace std;const int ar[4]={2,3,5,7};bool IsPrime(int );int count;void dfs(int n,int m);listli;int main(){ ifstream fin("sprime.in"); ofstream fout("sp 阅读全文
posted @ 2013-08-16 12:01
cavehubiao
阅读(163)
评论(0)
推荐(0)

浙公网安备 33010602011771号