旧物有情 # 字符串正反连接 超简单思路 摘要:``` #include #include #include using namespace std; int n,jin,yin,tong; int main(){ ch…… 题解列表 2024年10月17日 0 点赞 0 评论 250 浏览 评分:0.0
最普通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a[120]; char b[52]; int i,c=0,j; gets(a…… 题解列表 2024年11月17日 0 点赞 0 评论 379 浏览 评分:0.0
掌握反向迭代就行 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string>using namespace std;int main(){ string input; …… 题解列表 2024年12月08日 0 点赞 0 评论 368 浏览 评分:0.0
这个题不考虑空格——第一个测试点不通过的原因 摘要:解题思路:之前用getchar()获得字符(\n结束),统计长度后正反各输出一次。然后第一个测试点死活不通过。红温过后使用scanf("%s",&str)即可。注意事项:呕…… 题解列表 2025年06月05日 0 点赞 0 评论 504 浏览 评分:0.0
比较简便的解答思路 摘要:解题思路:采用遍历的方法注意事项:参考代码:#include<stdio.h>int main(){ char zifuchuan[50]; &nbs…… 题解列表 2025年09月01日 0 点赞 0 评论 300 浏览 评分:0.0