题解列表
1206: 字符串问题
摘要:解题思路:注意事项:参考代码:#include<stdio.h>
int main()
{
char str[50];
gets(str);
int len=strlen(str);
fo……
题解 1144:自守数问题(C代码)
摘要:解题思路:注意事项:参考代码:#include<math.h>int Number(int i,int count);int main(){ long long sum; for (int……
1126: C语言训练-字符串正反连接
摘要:解题思路:注意事项:参考代码:#include<stdio.h>
int main()
{
char str[50];
gets(str);
printf("%s",str);
int l……
1094: 字符串的输入输出处理
摘要:解题思路:注意事项:参考代码:#include#includeint main()
{
char str[1000],ch;
int n,i;
scanf("%d\n"……
[编程入门]Sn的公式求和,C语言递归解法
摘要:解题思路:主要是如何方便的生成222222,这样的数字,可以通过递归的方式,观察得到f(n)=f(n-1)*10+2,所以用递归写还是比较方便的。参考代码:#include<stdio.h>
int……
题解 1487: 蓝桥杯算法提高VIP-不同单词个数统计 set
摘要:#include<iostream>
#include<algorithm>
#include<string>
#include<set>
using namespace std;
int ……