整数だけで実装するならこうだろうか
numが1から始まる場合
int a = 1 + ( ( num - 1 ) * 5 )
Permalink | 記事への反応(1) | 22:53
ツイートシェア
ありがとう! おもいつかなかった!