题解 2850: 输出亲朋字符串 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;char s[103];int main(){ cin.getline(s,103…… 题解列表 2024年07月12日 0 点赞 0 评论 318 浏览 评分:9.9
2850: 输出亲朋字符串 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const ll N=1e5;char …… 题解列表 2024年07月12日 0 点赞 0 评论 142 浏览 评分:0.0
2850: 输出亲朋字符串 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const int N=1e7;stri…… 题解列表 2024年07月19日 0 点赞 0 评论 238 浏览 评分:9.9
6行:万花丛中过,片叶不沾身 摘要:解题思路:注意事项:参考代码:word=input()result=""for i in range(len(word)-1): result += chr(ord(word[i])+ord(w…… 题解列表 2024年07月25日 0 点赞 0 评论 479 浏览 评分:0.0
2850: 输出亲朋字符串 摘要:解题思路:注意事项:参考代码:s1 = input()s2 = s1[1::1]s2 = s2 + s1[0]s = ""for i in range(len(s1)): s += chr(or…… 题解列表 2024年08月01日 0 点赞 0 评论 470 浏览 评分:0.0
好理解的答案 摘要:解题思路: 无所畏惧,直接上,系统会自动转化成ascii码相加的,我们不用管这么多注意事项:亲朋字符串的最后一个字符由给定字符串s的最后一个字符ASCII值加s的第一个字符的ASCII值参考代码:#i…… 题解列表 2024年11月26日 0 点赞 0 评论 293 浏览 评分:0.0
小白序列知识解法 摘要:参考代码:str1=input()#用户输入一个字符串n=len(str1)#获取字符串长度str2=&nb…… 题解列表 2025年05月08日 1 点赞 0 评论 36 浏览 评分:0.0