报数问题代码 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int findLastPerson(int n) { int circle[n]; int count = 0; …… 题解列表 2023年07月13日 0 点赞 0 评论 594 浏览 评分:0.0
编写题解 1034: [编程入门]自定义函数之数字分离 摘要:解题思路:注意事项:参考代码:#include <stdio.h>void fun (int n){ int i; int cnt[10]; for(i=0;i<4;i++){ cnt[3-i]=n…… 题解列表 2023年07月12日 0 点赞 0 评论 452 浏览 评分:0.0
判断数的正负 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n; scanf("%d",&n); if(n>0) printf("posi…… 题解列表 2023年07月12日 0 点赞 0 评论 521 浏览 评分:0.0
用基本自定义函数的知识解决 编写题解 1033: [编程入门]自定义函数之字符提取 摘要:解题思路:遍历字符串数组,判断每一个字符是不是原因字母,如果是元音字母就赋值到一个新的字符数组当中。遍历完成之后,将新的字符串数组输出即可。注意事项:参考代码:#include<stdio.h>voi…… 题解列表 2023年07月12日 0 点赞 0 评论 528 浏览 评分:9.9
三角形面积 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>int main(){ float x1,x2,x3,y1,y2,y3,d1,d2,d3,s;…… 题解列表 2023年07月12日 0 点赞 0 评论 472 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>#include <ctype.h> int main() { int p1, p2, p…… 题解列表 2023年07月12日 1 点赞 0 评论 608 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[6]; int n; scanf("%d…… 题解列表 2023年07月12日 0 点赞 0 评论 536 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,a; scanf("%d", &n); while (n--) { …… 题解列表 2023年07月12日 0 点赞 0 评论 512 浏览 评分:9.9
数组插入处理 解题思路:可以想象成教室里面有一列,按照高矮顺序排位置,已经排列好了,突然有一个新同学加入,然后我们要把他按照高矮顺序对他进行排座才不会影响其他同学。我们需要加一个座位在最后。然后最高的坐最后然后次高的依次往后坐,只有后面的同学留出位置这样新来的同学才有位置坐下。 题解列表 2023年07月12日 0 点赞 0 评论 546 浏览 评分:0.0
大象喝水问题 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#define pi 3.14159int main(){ int a,b,c,d; scanf("%d %d",&a,&…… 题解列表 2023年07月12日 0 点赞 0 评论 573 浏览 评分:0.0