题解 2115: 信息学奥赛一本通T1308-高精除 摘要:解题思路:用java太简单了,java有自带的高精除和高精取余的函数参考代码:import java.math.BigInteger; import java.util.Scanner; pu…… 题解列表 2021年05月09日 0 点赞 0 评论 857 浏览 评分:0.0
(c语言)递归+欧拉筛解法 摘要:解题思路:质数通过欧拉筛打表判断,非质数利用递归不断分解到它为质数为止注意事项:参考代码#include<stdio.h>#include<string.h>#define maxn 50000int…… 题解列表 2021年05月09日 0 点赞 0 评论 500 浏览 评分:0.0
飞奔的马的(c语言) 摘要:解题思路:2 3 6 5 8 4第一次:2 3 5 6 8 4 sum=2;第二次:2 3 4 6 8 5 sum=8第三次:2 3 4 5 8 6 sum=12第四次:2 3 4 …… 题解列表 2021年05月10日 0 点赞 0 评论 402 浏览 评分:0.0
数字母(输入一串字符串统计字母个数) 摘要:解题思路:第一不用输字母,可以选择gets或者scanf函数,用for循环和if语句判断,统计个数注意事项:把大小写都要统计参考代码:#include<stdio.h>#include<string.…… 题解列表 2021年05月11日 0 点赞 0 评论 607 浏览 评分:0.0
Jam的计数法-------c 摘要:#include <iostream>#include <stdio.h>#include <math.h>#include <algorithm>#include <string.h> using …… 题解列表 2021年05月11日 0 点赞 0 评论 472 浏览 评分:0.0
不知道错哪里了... 摘要:```c #include int main(void) { int n, sn = 0, a; scanf("%d", &n); for(n; n > 0; n--) { …… 题解列表 2021年05月12日 0 点赞 0 评论 532 浏览 评分:0.0
字符串编辑 摘要:解题思路:swicth语句进行操作选项注意事项:参考代码:#include<stdio.h>#include<string.h>void del(char *ch,char c){ int i,key…… 题解列表 2021年05月12日 0 点赞 0 评论 367 浏览 评分:0.0
c++深度搜索解题 摘要:#### ### ## # 本题的原思路来自用户名为‘gyh0416’的用户(首先在此感谢这位用户),我在看到这位作者的题解后觉得非常好,便写了这个翻版。大家可以在本题题解中找到这位作者用C#写的代码…… 题解列表 2021年05月12日 0 点赞 0 评论 366 浏览 评分:0.0
题解 1249: 简单编码 摘要:参考代码:#include <stdio.h>#include <stdlib.h>#include<string.h>#include<math.h>int main(){ char str[…… 题解列表 2021年05月12日 0 点赞 0 评论 379 浏览 评分:0.0
题解 1250: 素数回文 摘要:参考代码:#include <stdio.h>#include <stdlib.h>#include<string.h>#include<math.h>int sushu(int n){ int…… 题解列表 2021年05月12日 0 点赞 0 评论 295 浏览 评分:0.0