PAT-2018年冬季考试-甲级

嘿嘿嘿,感觉不错呀,全部1A,虽然第二题打得有点久,似乎其他题都是十分钟1A的- = 第一题:判断素数 #include<cstdio> using namespace std; typedef long long ll; const int N=10000+5; char ss[N]; int check(ll x) { for(int i=2;1LL*i*i<=x;i++) i
相关文章
相关标签/搜索