以下の内容はhttps://blog.hamayanhamayan.com/entry/2020/02/09/224841より取得しました。


I miss you... [AtCoder Beginner Contest 154 B]

https://atcoder.jp/contests/abc154/tasks/abc154_b

解説

https://atcoder.jp/contests/abc154/submissions/9999489

Sの全ての文字をxに置き換えて出力するが、
言い換えると、Sの文字数分xを出力すればいい。
個数を数えて、その数だけxを出力しよう。

string S;
//---------------------------------------------------------------------------------------------------
void _main() {
    cin >> S;

    int N = S.length();
    rep(i, 0, N) printf("x");
    printf("\n");

}



以上の内容はhttps://blog.hamayanhamayan.com/entry/2020/02/09/224841より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14