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; }