C语言训练-求s=a+aa+aaa+aaaa+aa...a的值 摘要: #include<stdio.h> int main() { int a,b; scanf("%d%d",&a,&b); int c = a; int sum = 0; …… 题解列表 2023年06月12日 0 点赞 0 评论 441 浏览 评分:0.0
C语言训练-求素数问题(C语言) 摘要:#include<stdio.h> int main() { int n; scanf("%d",&n); int flag = 0; for(int i=2;i<=n…… 题解列表 2023年06月12日 0 点赞 0 评论 616 浏览 评分:0.0
简单易懂C语言 摘要:#include<stdio.h> int main() { int a = 1, b = 1; int n; scanf("%d", &n); if(n==1){ …… 题解列表 2023年06月11日 0 点赞 0 评论 477 浏览 评分:0.0
C语言训练-字符串正反连接 摘要:#include<stdio.h> int main() { char a[100]; char b[100]; scanf("%s",a); printf("%s",…… 题解列表 2023年06月11日 0 点赞 0 评论 412 浏览 评分:0.0
c语言代码解决问题 解题思路:为了计算矩形R1和R2的总面积,我们可以先计算每个矩形的面积,然后减去它们的重叠区域的面积。矩形R1的面积可以通过计算底边长度乘以高度来得到,即:area_R1=(x2-x1)*(y2-y1)同样地,矩形R2的面积可以通过计算底边长度乘以高度来得到, 题解列表 2023年06月11日 1 点赞 1 评论 1139 浏览 评分:9.6
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#include<ctype.h>int main(){ char str[1001]; …… 题解列表 2023年06月11日 0 点赞 0 评论 476 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>int main(){ int n, * a,i,plateau_length=1,max_p…… 题解列表 2023年06月11日 0 点赞 0 评论 549 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,a[20], b[20],i,j,k,sum=0; while (scanf("%d",…… 题解列表 2023年06月11日 0 点赞 0 评论 480 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[501]; gets(str); str…… 题解列表 2023年06月11日 0 点赞 0 评论 591 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n, i, j,a[1000],sum=1,max_sum=1,max_num; scanf…… 题解列表 2023年06月11日 0 点赞 0 评论 506 浏览 评分:0.0