猴子吃桃的问题 摘要:#include <stdio.h> int main(){ int T,N,i,sum=1; scanf("%d",&N); for(i=1;i<N;i++){ sum=(sum…… 题解列表 2023年06月29日 0 点赞 0 评论 449 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float k,p,profit,money=0.0,sum_profit=0.0; int n; …… 题解列表 2023年06月29日 0 点赞 0 评论 536 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char str[101]; gets(str); str[strlen(str)] = &#…… 题解列表 2023年06月29日 0 点赞 0 评论 544 浏览 评分:0.0
1030: [编程入门]二维数组的转置 #自己写的代码```c#includeintmain(){inta[3][3];intb[3][3];for(inti=0;i 题解列表 2023年06月28日 0 点赞 0 评论 578 浏览 评分: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 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<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 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[101],c; int i,max_sign=…… 题解列表 2023年06月27日 0 点赞 0 评论 469 浏览 评分:0.0 1074:-数字整除 摘要:解题思路:本题的本质是高精度大数除以低精度小数。字符型的的本质就是整形数据。以字符串的形式接收高精度大数,把每一个字符转变为数字存放在数组中进行运算。注意事项:参考代码:char a[1000]; …… 题解列表 2023年06月27日 0 点赞 0 评论 668 浏览 评分:0.0 « 12...507508509510511512513...29572958 »
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<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 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[101],c; int i,max_sign=…… 题解列表 2023年06月27日 0 点赞 0 评论 469 浏览 评分:0.0
1074:-数字整除 摘要:解题思路:本题的本质是高精度大数除以低精度小数。字符型的的本质就是整形数据。以字符串的形式接收高精度大数,把每一个字符转变为数字存放在数组中进行运算。注意事项:参考代码:char a[1000]; …… 题解列表 2023年06月27日 0 点赞 0 评论 668 浏览 评分:0.0