题解(string?
2024-05-06 19:47:41
发布于:江苏
11阅读
0回复
0点赞
#include <bits/stdc++.h>
// #define _INT_MAX 2147483647
// #define _LONG_LONG_MAX 9223372036854775807
// #define _MATH_DEFINES_DEFINED
// #define debug freopen("in.txt","r",stdin), freopen("out.txt","w",stdout);
#define ZERO 0
#define A 1
// #define CHARCTER ""
// #define CHARCTER_SPACE " "
// #define CHARACTER_LINE_BREAK "\n"
// #pragma GCC optimize("O2")
using namespace std;
// void _Output(auto _print, string _plus);
/*
void _Output(auto _print, string _plus) {
cout << _print << _plus; }
*/
int main(void) {
ios::sync_with_stdio(false);
cin.tie(ZERO);
cout.tie(ZERO);
string a;
cin >> a;
cout << a[a.size() - A];
return ZERO; }
这里空空如也
有帮助,赞一个