定义函数求最小公倍数以及最大公约数 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int max(int a,int b) { int r=0; while(a%b!=0) { r=a%b; …… 题解列表 2022年11月01日 0 点赞 0 评论 272 浏览 评分:0.0
编写题解 2927: 二分法求函数的零点 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>double fun(double x){ return pow(x,5)-15*po…… 题解列表 2022年11月01日 0 点赞 0 评论 528 浏览 评分:0.0
[编程入门]三个数最大值 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ int a[3],i,max; for(i=0;i<3;i+…… 题解列表 2022年11月01日 0 点赞 0 评论 270 浏览 评分:0.0
A+B for Input-Output Practice (I) 摘要:解题思路:EOF表示为文件结束符注意事项:参考代码:#include<stdio.h>int main(){ int a,b; while (scanf("%d %d",&a,&b)!=E…… 题解列表 2022年11月01日 0 点赞 0 评论 323 浏览 评分:0.0
密码破译(chr()和ord()函数的应用) 摘要:解题思路:先将输入的i转化为ascll值后加4,再转化为字母注意事项:chr()函数:将ascll码转化为字符 ord()函数:将字符转化为ascll码简单代码:inp=in…… 题解列表 2022年11月01日 1 点赞 0 评论 337 浏览 评分:0.0
利用结构体排序 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; typedef struct a{ char m[20]; int …… 题解列表 2022年11月01日 0 点赞 0 评论 369 浏览 评分:0.0
aaaaaaaaaaaaaaaaaaa 摘要:解题思路:注意事项:参考代码#include <stdio.h>int main(){ int n,m,i,j,ii; scanf("%d%d",&n,&m); …… 题解列表 2022年11月01日 0 点赞 0 评论 365 浏览 评分:0.0
aaaaaaaaaaaaaaaaaaa 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n,i,j,ii; int max=0,maxx=0; …… 题解列表 2022年11月01日 0 点赞 0 评论 333 浏览 评分:0.0
简单易懂,小白必看 摘要:#include<stdio.h>#include<math.h>int main(){ int a,b,c,sum1=0,sum2=0; double sum3=0; scanf("%d%d%d",…… 题解列表 2022年11月02日 0 点赞 0 评论 230 浏览 评分:0.0
快速排序解题 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; void QS(int a[],int l,int r) { if(l…… 题解列表 2022年11月02日 0 点赞 0 评论 236 浏览 评分:0.0