2955: 判决素数个数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;ll prime (ll x)//先判断…… 题解列表 2024年06月30日 0 点赞 0 评论 109 浏览 评分:0.0
2955: 判决素数个数 摘要:解题思路:循环判断x到y有多少个质数注意事项:后面定义sum来累加计算 rutern不能写成cout MYdamn里是i …… 题解列表 2024年07月17日 0 点赞 0 评论 152 浏览 评分:0.0
编写题解 2955: 判决素数个数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int c(int n){ if(n==1) return 0; for(int i…… 题解列表 2024年08月22日 0 点赞 0 评论 345 浏览 评分:0.0
会战兵力 是80万对60万 优势在我 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;int prime(ll x){ …… 题解列表 2024年10月07日 0 点赞 0 评论 123 浏览 评分:9.9
2955 判断素数个数 摘要:解题思路: 先判断是否为素数pd_sushu然后统计个数count_sushu,调用注意事项:参考代码:def pd_sushu(n):#判断是否为素数 if n…… 题解列表 2025年03月22日 0 点赞 0 评论 116 浏览 评分:0.0