0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-09-19 23:45:25 +00:00

A - Last Letter

https://atcoder.jp/contests/abc244/submissions/30268586
This commit is contained in:
Baoshuo Ren 2022-03-20 20:01:16 +08:00
parent 6baf86010c
commit 84858f4c68
Signed by: baoshuo
GPG Key ID: 70F90A673FB1AB68

16
AtCoder/ABC244/A/A.cpp Normal file
View File

@ -0,0 +1,16 @@
#include <iostream>
#include <string>
using std::cin;
using std::cout;
const char endl = '\n';
int n;
std::string s;
int main() {
std::ios::sync_with_stdio(false);
cin >> n >> s;
cout << *s.rbegin() << endl;
return 0;
}