PAT 1152 C++ 版

PAT 1152 C++版 1.題意 給出一串數字【其實是字符串】,讓你找出其中連續的字符串是素數的串。 2.分析 素數判斷 由字符串生成數字 數字大小範圍的界定 3.代碼 #include<cstdio> #include<cmath> #include<iomanip> #include<iostream> #define maxn 1005 using namespace std; bo
相關文章
相關標籤/搜索