编写题解 1032: [编程入门]自定义函数之字符串连接 摘要:解题思路:注意事项:scanf后面不加&符号参考代码:#include<stdio.h>#include<string.h>int main(){ &nbs…… 题解列表 2026年03月02日 0 点赞 0 评论 26 浏览 评分:0.0
字符串连接 摘要:解题思路:注意事项:连接的时候可以用数组形式赋值也可以用指针形式赋值,但是其实最后可以加一个长度限制的判断参考代码:#include <stdio.h>#include <strin…… 题解列表 2025年10月29日 1 点赞 0 评论 450 浏览 评分:10.0
一行代码搞定 摘要:解题思路:利用python可以嵌套压缩代码核心两点:一行代码解决参考代码:print(input()+input())…… 题解列表 2025年10月26日 1 点赞 0 评论 251 浏览 评分:10.0
1032:[编程入门]自定义函数之字符串连接 摘要:解题思路:注意事项:要写括号参考代码:#include<bits/stdc++.h>using namespace std;int q(string a,string b){ …… 题解列表 2025年07月24日 1 点赞 1 评论 342 浏览 评分:10.0
在函数内直接相加实现拼接 摘要:解题思路:先定义两个字符串类型的变量依次输入,然后调用函数,在函数内通过相加实现字符串的拼接注意事项:参考代码:#include<bits/stdc++.h>using namespace…… 题解列表 2025年04月09日 1 点赞 0 评论 480 浏览 评分:10.0
编写题解 1032: [编程入门]自定义函数之字符串连接 摘要: #include #include #include #include #include using namespace std;…… 题解列表 2025年04月03日 0 点赞 0 评论 657 浏览 评分:0.0
常规解法---------------------------------------------------------- 摘要:解题思路:注意事项:参考代码:#include<iostream>#include <cstring>using namespace std;const int N = 101…… 题解列表 2025年03月17日 0 点赞 0 评论 451 浏览 评分:0.0
数组实现字符串连接 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[100],b…… 题解列表 2025年01月24日 6 点赞 0 评论 1118 浏览 评分:10.0
利用数组遍历来实现连接 摘要:#include<stdio.h>int main(){ char a[1000],b[19999]; int i,j=0; &…… 题解列表 2025年01月04日 1 点赞 0 评论 500 浏览 评分:0.0
自定义函数之字符串连接 摘要:#include<stdio.h> int main(void) { char a[100]; char b[100]; char temp[100]; i…… 题解列表 2024年12月28日 0 点赞 0 评论 585 浏览 评分:0.0