求捞QAQ
查看原帖
求捞QAQ
811437
littlewhite_楼主2024/1/13 12:19

记录

#include <bits/stdc++.h>
using namespace std;

int main()
{
	string s;
	cin >> s;
	int a = s.length();
	for (int i = 0; i < a; i++)
	{
		if (s[i] >= 65 && s[i] <= 90) s[i] += 32;
		if (s[i] == 95) s[i] = 109;
	}
	cout << "solution-" << s;
	return 0;
} 
2024/1/13 12:19
加载中...