回文素数(这题数据是真的大,在素数领域有一个性质,偶数位数的除了11以外全部不是回文素数) 摘要:解题思路:这题正常解法,对空间巨大,到7差不多就会溢出,重点:在素数领域有一个性质,偶数位数的数除了11以外全部不是回文素数想知道原理的可以去查下,我也不知( ´・・)ノ(._.`)这样的话,除了n=…… 题解列表 2023年12月07日 0 点赞 0 评论 207 浏览 评分:0.0
求整数的和与均值(Python) 摘要:解题思路: 这个就是有一种情况是 输入没有按照一行一个数比如说按照:3 12 54 35 这样的输入情况,考虑这个情况之后就满分了,所以说我个人感觉这个和题目描述的有一点不一样,所以说题目有一点…… 题解列表 2023年12月07日 0 点赞 0 评论 279 浏览 评分:0.0
陶陶摘苹果 摘要:解题思路:通过两个for循环来完成注意事项:参考代码:#include <iostream>using namespace std;int main() { int a[10]; for (int i…… 题解列表 2023年12月08日 0 点赞 0 评论 163 浏览 评分:0.0
c语言小白写法,用struct 摘要:解题思路:注意事项:参考代码:#include <stdio.h>typedef struct student{ int id; float score;} student;int mai…… 题解列表 2023年12月08日 0 点赞 0 评论 148 浏览 评分:0.0
]结构体之成绩记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct Stu{ char id[20],name[20]; int score1,score2,score3;};v…… 题解列表 2023年12月08日 0 点赞 0 评论 122 浏览 评分:0.0
1043: [编程入门]三个数字的排序 C语言 冒泡排序 摘要:解题思路:冒泡排序注意事项:参考代码:#define _CRT_SECURE_NO_WARNINGS#include <stdio.h>int main(void){ int a, b, c,t; s…… 题解列表 2023年12月08日 0 点赞 0 评论 111 浏览 评分:0.0
题解 1061: 二级C语言-计负均正 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int count=0,temp=…… 题解列表 2023年12月08日 0 点赞 0 评论 172 浏览 评分:0.0
计算字符串距离 摘要:解题思路:注意事项:参考代码:def edit_distance(A, B): m = len(A) n = len(B) # 初始化二维数组 dp = [[0] * (n +…… 题解列表 2023年12月08日 0 点赞 0 评论 111 浏览 评分:0.0
Pell数列(Python) 摘要:解题思路:注意事项:参考代码:def pell_number(k): a, b = 1, 2 if k == 1: return 1 elif k == 2: …… 题解列表 2023年12月08日 0 点赞 0 评论 212 浏览 评分:0.0
题解 2908: 白细胞计数 摘要: #include using namespace std; int main(){ int n; double o; …… 题解列表 2023年12月08日 0 点赞 0 评论 159 浏览 评分:0.0