C语言——题解 2968: 区间内的真素数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int sushu(int n);int main(){ int m,n,i,j,k=1,s; scanf("%d%d",&…… 题解列表 2023年01月02日 0 点赞 0 评论 551 浏览 评分:9.9
C语言——题解 2966: 最大质因子序列 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int zhishu(int n);int main(){ int n,m,i,j,k,l; scanf("%d%d",&n…… 题解列表 2023年01月02日 0 点赞 1 评论 559 浏览 评分:9.9
C++和C语言实现 摘要:解题思路:上边是c语言版本(忽略头文件),下边是c++版本;(大佬勿喷)C:strcpy_s看成strcpy即可,因为不加_s在VS中编译不通过,还有cin.getline()。可以看到写了个Sort…… 题解列表 2023年01月02日 0 点赞 0 评论 532 浏览 评分:9.9
蓝桥杯2022年第十三届省赛真题-纸张尺寸(c语言 思路新奇) 摘要:解题思路:A0高=1189,宽=841A1高=1189/2,宽=高有规律了之后就可以用循环解决参考代码:#include <stdio.h> int main(){ int A_hight…… 题解列表 2023年01月02日 0 点赞 0 评论 587 浏览 评分:9.9
C语言简单代码 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[256]; int i,j; gets(a); j=strle…… 题解列表 2023年01月02日 0 点赞 0 评论 425 浏览 评分:9.9
(c语言)详细解读 摘要:解题思路:注意事项:参考代码:#include"stdio.h"int main(){ int num=0,n=0,Num=0,min=0; scanf("%d %d",&min,&num…… 题解列表 2023年01月03日 0 点赞 0 评论 588 浏览 评分:9.9
(c语言)详细解读,递归简单解决超时问题! 摘要:解题思路: 直接使用递归会超时,参考缓存原理,已经计算过的年份保存下来,下次用到的话直接使用缓存,没计算过的再计算只需要用if判断就可以注意事项:参考代码:#include"stdio.h" i…… 题解列表 2023年01月03日 0 点赞 0 评论 404 浏览 评分:9.9
3024: 判断整除 摘要:想要就去复制吧!记得5星好评解题思路:搜索来判断整除注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int a[100000],n,k…… 题解列表 2023年01月03日 0 点赞 0 评论 371 浏览 评分:9.9
3024: 判断整除 摘要:解题思路:要就复制吧,爱就点赞吧注意事项:参考代码:#include<bits/stdc++.h> using namespace std; bool f[10005][105]; int n,…… 题解列表 2023年01月03日 0 点赞 0 评论 362 浏览 评分:9.9
3025: 踩方格 摘要:解题思路:典型DP,直接递推。 要就复制吧,爱就点赞吧!注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int f[25]={1,3…… 题解列表 2023年01月03日 0 点赞 0 评论 536 浏览 评分:9.9