結果

問題 No.257 N言っちゃダメゲーム (3)
ユーザー cielciel
提出日時 2015-08-01 01:33:19
言語 Ruby
(3.3.0)
結果
AC  
実行時間 135 ms / 2,000 ms
コード長 61 bytes
コンパイル時間 75 ms
コンパイル使用メモリ 11,456 KB
実行使用メモリ 31,460 KB
平均クエリ数 99.00
最終ジャッジ日時 2023-09-23 21:11:26
合計ジャッジ時間 5,892 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 135 ms
31,248 KB
testcase_01 AC 130 ms
31,380 KB
testcase_02 AC 131 ms
30,868 KB
testcase_03 AC 127 ms
31,460 KB
testcase_04 AC 123 ms
31,404 KB
testcase_05 AC 124 ms
31,112 KB
testcase_06 AC 124 ms
31,120 KB
testcase_07 AC 126 ms
30,952 KB
testcase_08 AC 125 ms
30,848 KB
testcase_09 AC 126 ms
31,424 KB
testcase_10 AC 126 ms
30,896 KB
testcase_11 AC 127 ms
31,228 KB
testcase_12 AC 127 ms
30,956 KB
testcase_13 AC 131 ms
31,056 KB
testcase_14 AC 127 ms
31,260 KB
testcase_15 AC 130 ms
31,196 KB
testcase_16 AC 125 ms
31,280 KB
testcase_17 AC 130 ms
31,072 KB
testcase_18 AC 131 ms
30,820 KB
testcase_19 AC 131 ms
30,672 KB
testcase_20 AC 131 ms
31,024 KB
testcase_21 AC 127 ms
30,952 KB
testcase_22 AC 129 ms
31,080 KB
testcase_23 AC 129 ms
31,204 KB
testcase_24 AC 129 ms
31,044 KB
testcase_25 AC 128 ms
30,876 KB
testcase_26 AC 131 ms
31,280 KB
testcase_27 AC 129 ms
31,356 KB
testcase_28 AC 130 ms
31,200 KB
testcase_29 AC 129 ms
30,956 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

N,K=gets.split.map(&:to_i)
99.times{|i|p (N-1)%(K+1)+(K+1)*i}
0