编写题解 1033: [编程入门]自定义函数之字符提取 摘要:解题思路:注意事项:参考代码:def yuan(m): for x in m: if x in ['a','e','i','o&#…… 题解列表 2022年03月07日 0 点赞 0 评论 281 浏览 评分:9.9
编写题解 1033: [编程入门][C语言]自定义函数之字符提取 摘要:#include<stdio.h> void check(char a[]) { int i; int fg1=0,fg2=0,fg3=0,fg4=0,fg5=0;//在循环外定义,用来使…… 题解列表 2022年05月19日 0 点赞 0 评论 249 浏览 评分:9.9
[编程入门]自定义函数之字符提取 摘要:解题思路:定义两个数组,一个数组输入原来的字符串,然后将两个数组一起传入自定义函数fun中,在fun函数中遍历数组a,判断是否有原因字母,如果有,则将该字母赋值给另一个数组b,最后输出数组b参考代码:…… 题解列表 2022年06月12日 0 点赞 1 评论 245 浏览 评分:9.9
暴力开解字符串,不用函数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int i,n; char a[20]; gets(a);…… 题解列表 2022年06月20日 0 点赞 0 评论 268 浏览 评分:9.9
优质题解 1033: [编程入门]自定义函数之字符提取(string) 摘要:解题思路:stl里面的string类提供了查找函数find 我们只需要建立一个元音字母表,然后在表内查询就可以了。参考代码:#include <bits/stdc++.h> #define ll…… 题解列表 2022年07月08日 0 点赞 5 评论 5350 浏览 评分:9.9
[编程入门]自定义函数之字符提取 摘要:参考代码:#include<iostream>#include<cstring>using namespace std;int main(){ char in[1000],out[1000]="…… 题解列表 2022年08月05日 0 点赞 0 评论 231 浏览 评分:9.9
编写题解 1033: [编程入门]自定义函数之字符提取(简单明了) 摘要:```c //自定义函数之字符提取 #include #include void StrExt(){ char s[100]; gets(s);//将输入的字符串存到数组s中 …… 题解列表 2022年08月13日 0 点赞 0 评论 349 浏览 评分:9.9
遍历字符串内容,满足条件放入储存的字符串中 摘要:参考代码:#define _CRT_SECURE_NO_WARNINGS#include<stdio.h>#include<string.h>#include<assert.h>void Change…… 题解列表 2022年10月02日 0 点赞 0 评论 161 浏览 评分:9.9
[编程入门]自定义函数之字符提取 摘要:解题思路:可调用函数,也可以不调用函数注意事项:参考代码:1. #include <stdio.h> void fasan(char b) { if(b=='a'||b==&…… 题解列表 2022年10月03日 0 点赞 0 评论 175 浏览 评分:9.9
简单点--字符提取 摘要:解题思路:简单思路,没有用自定义注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[100]; gets(str); i…… 题解列表 2022年10月11日 0 点赞 0 评论 191 浏览 评分:9.9