以下の内容はhttps://blog.hamayanhamayan.com/entry/2019/09/23/225743より取得しました。


1337 [Kodamanと愉快な仲間たち E]

https://www.hackerrank.com/contests/kodamanwithothers/challenges/e-1337

解説

https://www.hackerrank.com/contests/kodamanwithothers/challenges/e-1337/submissions/code/1316475979

すべての文字について、数値かどうか判定する。 C++だとisdigitという関数があるので、それを使ってやる。

string S;
//---------------------------------------------------------------------------------------------------
void _main() {
    cin >> S;
    fore(c, S) {
        if (isdigit(c)) {
            cout << "leet" << endl;
            return;
        }
    }

    cout << "Noleet" << endl;
}



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

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