1022:帅选n以内的素数 摘要:解题思路:注意事项:参考代码:方法一:不使用子函数#include<stdio.h>#include<math.h>int main(){ int n,k,i,j; scanf…… 题解列表 2025年11月05日 0 点赞 0 评论 117 浏览 评分:0.0
水仙花数问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int a,b[100],i,…… 题解列表 2025年11月12日 1 点赞 0 评论 91 浏览 评分:0.0
Py2821-开关灯 摘要:参考代码:n,m=map(int,input().split())light=[1]*(n+1)for&nb…… 题解列表 2025年11月12日 0 点赞 0 评论 10 浏览 评分:0.0
开关灯的相关解法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int N,M,m=-1,n=0; scanf("%d%d",&N,&a…… 题解列表 2025年11月12日 0 点赞 0 评论 13 浏览 评分:0.0
公约公数的题解 摘要:解题思路:两个整数A,B若A>B,则A=A-B若A<B,则B=B-A若A=B,则A=B为两者最大公因数。若A不等于B,继续返回执行第一项。(大的数减小的数直至差与减数大小相等)注意事项:参…… 题解列表 2025年11月13日 0 点赞 0 评论 1 浏览 评分:0.0
2809:斐波那契数列 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include <math.h>int main(){ int k,f1=1,f2=1,f3; scanf(&…… 题解列表 2025年11月13日 0 点赞 0 评论 8 浏览 评分:0.0
简单易懂求奇偶和 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,j,o,a=0,b=0; scanf("%d",&n); f…… 题解列表 2025年11月13日 1 点赞 0 评论 4 浏览 评分:0.0