题解 1231: 菜鸟解法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,j,n,a[30][30]; while(scanf("%d",&n)==1){ …… 题解列表 2024年11月23日 0 点赞 0 评论 293 浏览 评分:9.9
奥运奖牌计数C语言for循环做法分享 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,n,a,b,c,d=0,e=0,f=0,g=0; scanf("%d",&n); …… 题解列表 2024年11月23日 0 点赞 0 评论 199 浏览 评分:0.0
送分题。。。。。。。 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d",&a); for(b=1;b<a;b++) { …… 题解列表 2024年11月23日 0 点赞 0 评论 403 浏览 评分:0.0
比较简单的方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,a=0,b=0; scanf("%d",&n); a=2*n-40; b=n…… 题解列表 2024年11月23日 0 点赞 0 评论 209 浏览 评分:0.0
最普通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,a,b; scanf("%d %d",&a,&b); if(a<b) { …… 题解列表 2024年11月23日 0 点赞 0 评论 128 浏览 评分:0.0
虽然长但可放心食用 摘要:解题思路:1. 定义了一个函数 zhixing ,用于执行快速排序中的一次划分操作,返回划分的基准位置。2. 定义了函数 kp ,用于对数组进行快速排序。3. 在 main 函数中:首先生…… 题解列表 2024年11月23日 0 点赞 0 评论 156 浏览 评分:0.0
注意题目要求 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d",&a); while(a) { s…… 题解列表 2024年11月23日 0 点赞 0 评论 152 浏览 评分:0.0
普普通通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include <math.h>int gys(int a,int b){ if (a%b == 0) return b; else …… 题解列表 2024年11月23日 0 点赞 0 评论 396 浏览 评分:0.0
Hanoi双塔问题——递归+高精度运算 摘要:解题思路:单塔:2n-1双塔:2*(2n-1)高精度乘低精度高精度的减法删除多余的前导零注意事项:参考代码:…… 题解列表 2024年11月23日 0 点赞 0 评论 334 浏览 评分:0.0
LETTERS 搜搜搜搜搜搜 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; // 定义全局变量r和s,kkk初始化为-1 int r, s, kkk …… 题解列表 2024年11月23日 0 点赞 0 评论 360 浏览 评分:0.0