BFS變換素數,POJ(3126)

題目鏈接:http://poj.org/problem?id=3126 解題報告:   #include <iostream> #include <queue> #include <stdio.h> #include <string.h> using namespace std; #define MAXV 10000 bool Prime[MAXV]; ///素數表 bool vis[M
相關文章
相關標籤/搜索