MuYuMC @ 2024-05-03 08:47:43
#include <iostream>
#include <cstring>
#include <cmath>
#include <algorithm>
#include <iomanip>
using namespace std;
int main()
{
string a;
cin >> a;
for(int i = a.size();i >= 0;i--)
{
cout << a[i];
}
return 0;
}
by MuYuMC @ 2024-05-03 08:49:18
不用了,改了一下
#include <iostream>
#include <cstring>
#include <cmath>
#include <algorithm>
#include <iomanip>
using namespace std;
int main()
{
string a;
cin >> a;
for(int i = a.size() - 1;i >= 0;i--)
{
cout << a[i];
}
return 0;
}
by Andy_Shen @ 2024-05-16 19:28:44
@MuYuMC 一个万能头,5行变一行:
#include <bits/stdc++.h>
by MuYuMC @ 2024-05-17 11:52:54
@Andy_Shen 比赛时不能用
by Andy_Shen @ 2024-05-19 16:07:52
@MuYuMC 好吧