1126: C语言训练-字符串正反连接 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { char str[50]; gets(str); printf("%s",str); int l…… 题解列表 2022年06月23日 0 点赞 0 评论 300 浏览 评分:0.0
1094: 字符串的输入输出处理 摘要:解题思路:注意事项:参考代码:#include#includeint main() { char str[1000],ch; int n,i; scanf("%d\n"…… 题解列表 2022年06月23日 0 点赞 0 评论 259 浏览 评分:0.0
[编程入门]Sn的公式求和,C语言递归解法 摘要:解题思路:主要是如何方便的生成222222,这样的数字,可以通过递归的方式,观察得到f(n)=f(n-1)*10+2,所以用递归写还是比较方便的。参考代码:#include<stdio.h> int…… 题解列表 2022年06月22日 0 点赞 0 评论 249 浏览 评分:0.0
C语言-简洁易理解 摘要:解题思路:题目要求输入前n行原样输出,之后的行是不带空格的字符串,字符串间以空格或换行隔开,要求每个字符串单行输出,且每行输出间要输出空行注意事项:1.前n行与之后的行输入方式不同,前n行可用gets…… 题解列表 2022年06月22日 0 点赞 0 评论 322 浏览 评分:0.0
题解 1487: 蓝桥杯算法提高VIP-不同单词个数统计 set 摘要:#include<iostream> #include<algorithm> #include<string> #include<set> using namespace std; int …… 题解列表 2022年06月22日 0 点赞 1 评论 234 浏览 评分:0.0
1072: 汽水瓶 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int n,f,sum; while(1){ sum=0; scanf("%d",&…… 题解列表 2022年06月22日 0 点赞 0 评论 523 浏览 评分:0.0
简单输出易懂最大值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a, b, c; scanf("%d %d %d", &a,&b,&c); int m…… 题解列表 2022年06月22日 0 点赞 0 评论 325 浏览 评分:0.0
简单输出易懂输出图案 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char c; scanf("%c", &c); printf(" %c", c); …… 题解列表 2022年06月22日 1 点赞 0 评论 326 浏览 评分:0.0
简单输出易懂打印图案 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ printf(" *\n"); printf(" * *\n"); printf("****…… 题解列表 2022年06月22日 0 点赞 0 评论 300 浏览 评分:0.0
简单输出易懂贷款计算 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main() { int a, b; double c; int S; scanf("%d%lf%d",…… 题解列表 2022年06月22日 1 点赞 0 评论 372 浏览 评分:0.0