自定义函数之字符提取(C语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void a(){ char x[100],y[100]; int z=…… 题解列表 2026年06月17日 0 点赞 0 评论 38 浏览 评分:0.0
遍历筛选法 摘要:解题思路:注意事项:注意后面输出的时候,是<k,不要越过了数组的界限参考代码:#include <stdio.h>#include <string.h>int main(…… 题解列表 2026年04月02日 0 点赞 0 评论 177 浏览 评分:0.0
1033: [编程入门]自定义函数之字符提取 摘要:#include<stdio.h>#include<string.h>voidfind_char(char*str,&n…… 题解列表 2025年12月10日 1 点赞 0 评论 475 浏览 评分:0.0
有没有·大佬看看 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>voidtiqu(char[]);intmain()…… 题解列表 2025年10月30日 1 点赞 1 评论 379 浏览 评分:0.0
[编程入门]自定义函数之字符提取 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>void find_char(char *str, char *resu…… 题解列表 2025年10月30日 0 点赞 0 评论 474 浏览 评分:10.0
一行代码搞定 摘要:解题思路: 获取输入:通过input()函数读取用户输入的字符串(如输入 “hello world”); 筛选元音字符:用列表推导式遍历输入字符串的每个字符,通过if i in…… 题解列表 2025年10月26日 3 点赞 0 评论 358 浏览 评分:10.0
for轮询逐个取出判断 摘要:解题思路:先定义好一个字符串变量存储输入的字符串,然后送到函数里使用for轮询逐个进行判断每一次取出的字符是否是元音字母(aeiou),在此之前还要再定义一个字符串变量用来存储取出的元音字母,判断结束…… 题解列表 2025年04月09日 1 点赞 0 评论 742 浏览 评分:10.0
1033 元音字符提取 摘要:解题思路:注意事项:题目只需要考虑小写情况参考代码:#include<stdio.h>int main(){ char a[1000]; char b[1000]; gets(a); in…… 题解列表 2025年03月27日 3 点赞 0 评论 804 浏览 评分:0.0
C++简单写法-------------------------------------- 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ string s, res;&n…… 题解列表 2025年03月21日 1 点赞 0 评论 453 浏览 评分:0.0
字符串的提取 摘要:解题思路:注意事项:可以使用+运算符或join方法来实现类似将一个字符串追加到另一个字符串的效果参考代码:s=input()r=[]v='aeiouAEIOU'for i in s: …… 题解列表 2025年02月27日 0 点赞 0 评论 653 浏览 评分:0.0