题解 2850: 输出亲朋字符串

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

好理解的答案

摘要:解题思路: 无所畏惧,直接上,系统会自动转化成ascii码相加的,我们不用管这么多注意事项:亲朋字符串的最后一个字符由给定字符串s的最后一个字符ASCII值加s的第一个字符的ASCII值参考代码:#i……

2850: 输出亲朋字符串

摘要:解题思路:注意事项:参考代码:s1 = input()s2 = s1[1::1]s2 = s2 + s1[0]s = ""for i in range(len(s1)):    s += chr(or……

2850: 输出亲朋字符串

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const ll N=1e5;char ……

输出亲朋字符串(简短)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){     char s[100];     gets(s);     int ……

2850: 输出亲朋字符串

摘要:参考代码:s = input() s1 = &#39;&#39; for i in range(len(s) - 1):     s1 += chr(ord(s[i]) + ord(s[i + ……

2850: 输出亲朋字符串

摘要:#include<stdio.h> #include<math.h> #include<string.h> # define N 100001 int main() {     char ……