A - Takahashi san Editorial by en_translator
If you are new to learning programming and do not know where to start, please try Problem A “Welcome to AtCoder” from practice contest. There you can find a sample code for each language.
Also, if you are not familiar with problems in programming contests, we recommend you to try some problems in “AtCoder Beginners Selection” (https://atcoder.jp/contests/abs).
This is a basic problem of string input/output. Read and print the string just as instructed in the problem statement.
The following is sample code in C++ and Python. If you are using other languages, see also the practice contest, as already mentioned.
Sample code (C++):
#include<bits/stdc++.h>
using namespace std;
int main() {
string s, t;
cin >> s >> t;
cout << s << " san" << endl;
}
Sample code (Python):
s, t = input().split()
print(s, "san")
posted:
last update: