1196: 去掉空格(7行) 摘要:解题思路:注意事项:c++多一行,就没用了参考代码:#include <stdio.h> int main(){ char ch; while((ch = getchar()) …… 题解列表 2022年10月11日 0 点赞 0 评论 281 浏览 评分:0.0
拆分位数(投机版) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a,b,c; scanf("%c%c%c",&a,&b,&c); printf("%…… 题解列表 2022年10月11日 0 点赞 0 评论 234 浏览 评分:0.0
自定义函数处理最大公约数与最小公倍数 摘要: #include using namespace std; int fun_a(int a, int b) { int r; w…… 题解列表 2022年10月11日 0 点赞 0 评论 293 浏览 评分:0.0
自定义函数求一元二次方程 摘要: #include #include #include using namespace std; float a, b, c, d, x1, x2; …… 题解列表 2022年10月11日 0 点赞 0 评论 301 浏览 评分:0.0
二维数组的转置 摘要: #include using namespace std; void fun() { int a[3][3], i, j,t; for (…… 题解列表 2022年10月11日 0 点赞 0 评论 344 浏览 评分:0.0
自定义函数之字符串反转 摘要: #include #include using namespace std; void fun(char a[], char b[]) { …… 题解列表 2022年10月11日 0 点赞 0 评论 288 浏览 评分:0.0
自定义函数之字符串连接 摘要: #include using namespace std; void fun(string s1, string s2) { cout s1 >> …… 题解列表 2022年10月11日 0 点赞 0 评论 294 浏览 评分:0.0
自定义函数之字符提取 摘要: #include #include using namespace std; void fun(char a[],char b[]) { i…… 题解列表 2022年10月11日 0 点赞 0 评论 336 浏览 评分:0.0
自定义函数之数字分离 摘要: #include #include using namespace std; void fun(int i) { int a, b, c, …… 题解列表 2022年10月11日 0 点赞 0 评论 310 浏览 评分:0.0
自定义函数之字符类型统计 摘要: #include #include using namespace std; void fun(char a[]) { int …… 题解列表 2022年10月11日 0 点赞 0 评论 291 浏览 评分:0.0