一个方法筛质数,一个方法筛回文数,两个的交集 摘要:解题思路:一个方法筛质数,一个方法筛回文数,两个的交集注意事项:参考代码:import java.util.ArrayList;import java.util.List;import java.ut…… 题解列表 2025年12月01日 0 点赞 0 评论 40 浏览 评分:0.0
编写题解 2950: 素数回文数的个数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main() { int a, i, j, sum = 0, b[1…… 题解列表 2025年03月21日 3 点赞 0 评论 315 浏览 评分:10.0
2950: 素数回文数的个数 摘要:```c #include using namespace std; const int maxn=2000010; int prime[maxn]; void judge_prime(in…… 题解列表 2024年11月23日 0 点赞 0 评论 292 浏览 评分:0.0
编写题解 2950: 素数回文数的个数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std;int s(int n){ for(int i=2;i*i<=n;i++) { …… 题解列表 2024年08月24日 0 点赞 0 评论 503 浏览 评分:0.0
2950: 素数回文数的个数 摘要:解题思路:函数定义fuk you注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;ll fuk(ll…… 题解列表 2024年07月18日 0 点赞 0 评论 465 浏览 评分:9.9
2950: 素数回文数的个数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;ll prime (ll x){ …… 题解列表 2024年07月11日 0 点赞 0 评论 201 浏览 评分:0.0
可能好理解的 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Main { public static void main(String[…… 题解列表 2024年04月18日 0 点赞 0 评论 383 浏览 评分:9.9
开心的K:素数回文数的个数 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Main { public static void main(String[] a…… 题解列表 2024年03月02日 0 点赞 0 评论 364 浏览 评分:0.0
2950: 素数回文数的个数 摘要:解题思路:注意事项:参考代码:a=int(input())count=0s=[]for i in range(11,a+1): for j in range(2,i): if i%…… 题解列表 2024年02月16日 0 点赞 0 评论 404 浏览 评分:9.9
素数回文数的个数两种方法 摘要:暴力写法,范围只有1000我们只需要前后就好了 ``` #include #include #include #include using namespace std; typed…… 题解列表 2024年01月06日 0 点赞 0 评论 245 浏览 评分:0.0