0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-12-28 14:11:58 +00:00

A - Six Characters

https://atcoder.jp/contests/abc251/submissions/31656570
This commit is contained in:
Baoshuo Ren 2022-05-14 20:02:08 +08:00
parent 774e0d8a24
commit 6040ab640e
Signed by: baoshuo
GPG Key ID: 70F90A673FB1AB68

20
AtCoder/ABC251/A/A.cpp Normal file
View File

@ -0,0 +1,20 @@
#include <iostream>
#include <string>
using std::cin;
using std::cout;
const char endl = '\n';
std::string s;
int main() {
std::ios::sync_with_stdio(false);
cin >> s;
for (int i = 0; i < 6; i++) {
cout << s[i % s.size()];
}
cout << endl;
return 0;
}