本菜鸟的分离,大佬们过目 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[9],i,n,x; scanf("%d",&x); for(i=0;i<10;i+…… 题解列表 2023年12月20日 0 点赞 0 评论 456 浏览 评分:0.0
一个while循环 摘要:解题思路:一个while循环注意事项:y<=k参考代码:#include<stdio.h>int main(){ double a,b,y; int k; scanf("%d",&k); …… 题解列表 2023年12月20日 0 点赞 0 评论 574 浏览 评分:0.0
自定义函数对素数进行查找 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void sushu(int i);int main(){ int n; scanf("%d",&n); int i; for(i=2;…… 题解列表 2023年12月20日 0 点赞 0 评论 443 浏览 评分:0.0
一遍过题之个人收藏 摘要:#include<stdio.h> void fun(int a[100],int m,int n,int b[100]){ int l=0; for(int k=n-m;k<n…… 题解列表 2023年12月20日 0 点赞 0 评论 365 浏览 评分:0.0
.................. 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); printf("%d",n*(3*n+1)/2)…… 题解列表 2023年12月20日 0 点赞 0 评论 711 浏览 评分:0.0
母牛的故事 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; while(scanf("%d",&n)!=EOF) { int …… 题解列表 2023年12月20日 0 点赞 0 评论 382 浏览 评分:0.0
题目不难,记住是高精度就好了 摘要:解题思路:注意事项:高精度参考代码:#include<stdio.h>int main(){ long long n,m=0; while(scanf("%lld",&n)!=EOF) {…… 题解列表 2023年12月20日 0 点赞 0 评论 515 浏览 评分:0.0
不能没落的strcmp和strcpy!!! 解题思路:strcmp函数:若返回值为0,说明两个字符串相等。若返回值小于0,说明str1小于str2。若返回值大于0,说明str1大于str2。作用:用于比较两个字符串。函数原型:intstrcmp(constchar*str1,constchar*str2);返回值:返回一个整数,表示比较的结果。 题解列表 2023年12月20日 0 点赞 1 评论 481 浏览 评分:9.9
[编程入门]自定义函数之字符提取(C语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[100],n,i; scanf("%s",a); …… 题解列表 2023年12月20日 0 点赞 0 评论 467 浏览 评分:0.0
字符串编码(简单易懂) 解题思路:题目给的转换只有1-26的数字才能被转换,基于这个思路,而且要求是字典序最大的字符串,用char类型数组存放输入,对每个元素进行遍历,如果每两个相邻的元素组成的两位数小于26,就把这两位数转换,除非组成的两位数大于26,才考虑对一位数进行转换, 题解列表 2023年12月20日 0 点赞 0 评论 709 浏览 评分:0.0