When the loop pre-increments the counter before checking the condition, it shortens the overall runtime.
ループが条件を確認する前にカウンタの値を先に1増やすと、全体の実行時間が短くなります。
アカウントを持っていませんか? 新規登録
アカウントを持っていますか? ログイン
DiQt(ディクト)
無料
★★★★★★★★★★