サイトトップへ

アルゴリズム実行アプリ(FE R7 1)

整数型: function2(整数型: n, 整数型: m) 整数型: count ← 0 整数型: tempN ← n 整数型: i, j for ( [ループ条件] ) if ((tempN mod 4)が0と等しい) 繰返し処理を終了する endif tempN ← tempN + 1 endfor for ( jをtempNから始めてmを超えない範囲で4ずつ増やす ) count ← count + 1 endfor return count