【JavaScript入門】substringメソッドの使い方をわかりやすく解説 文字列の一部だけを取り出したいとき、JavaScriptでは「substring()メソッド」を使います。 この記事では、substring()の基本的な使い方から、引数を省略した場合の動作までを、初心者の方にも分かり ...
You are given a string num representing a large integer. An integer is good if it meets the following conditions: It is a substring of num with length 3. It consists of only one unique digit. Return ...
ArrayList<Integer> cardNum = new ArrayList<>(); for(int cnt=0;cnt<args[0].length();cnt++){ cardNum.add( Integer.parseInt( args[0].substring(cnt,cnt+1) ) ); } System ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する