c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int least_num(int a,int b){ return a%b==0 ? b : least_num(b, a % …… 题解列表 2023年06月26日 0 点赞 0 评论 778 浏览 评分:0.0
阶乘数列1064 摘要:解题思路:注意事项:参考代码:public class Main { public static void main(String args[]) { double sum = 0…… 题解列表 2023年06月26日 0 点赞 0 评论 584 浏览 评分:0.0
1074:-数字整除 摘要:解题思路:本题的本质是高精度大数除以低精度小数。字符型的的本质就是整形数据。以字符串的形式接收高精度大数,把每一个字符转变为数字存放在数组中进行运算。注意事项:参考代码:char a[1000]; …… 题解列表 2023年06月27日 0 点赞 0 评论 668 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[101],c; int i,max_sign=…… 题解列表 2023年06月27日 0 点赞 0 评论 469 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int min(int x, int y){ return x < y?x : y;}int main(){ int a, …… 题解列表 2023年06月27日 0 点赞 0 评论 420 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[201]; gets(str); str[strlen(s…… 题解列表 2023年06月27日 0 点赞 0 评论 457 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i; float a[100]; while (scanf("%d", &n) != EOF) { …… 题解列表 2023年06月28日 0 点赞 0 评论 473 浏览 评分:0.0
汤少的随机数(C语言解法)先排序后去重 摘要:解题思路:注意事项:参考代码:#include <iostream>#include<string.h>using namespace std;int main(){int a[100],b,c,d;…… 题解列表 2023年06月28日 0 点赞 0 评论 471 浏览 评分:0.0
直接根据ASCII表进行输出,减少循环次数 #include#includeintmain(){charstr[10000];intarr[26]={0};while(gets(str)){intlen=strlen(str);for(inti=0;i 题解列表 2023年06月28日 0 点赞 0 评论 603 浏览 评分:0.0 1030: [编程入门]二维数组的转置 #自己写的代码```c#includeintmain(){inta[3][3];intb[3][3];for(inti=0;i 题解列表 2023年06月28日 0 点赞 0 评论 578 浏览 评分:0.0 « 12...5201520252035204520552065207...59125913 »
1030: [编程入门]二维数组的转置 #自己写的代码```c#includeintmain(){inta[3][3];intb[3][3];for(inti=0;i 题解列表 2023年06月28日 0 点赞 0 评论 578 浏览 评分:0.0