結果

問題 No.257 N言っちゃダメゲーム (3)
ユーザー cielciel
提出日時 2015-08-01 01:36:20
言語 Ruby
(3.3.0)
結果
AC  
実行時間 136 ms / 2,000 ms
コード長 51 bytes
コンパイル時間 301 ms
コンパイル使用メモリ 11,184 KB
実行使用メモリ 31,440 KB
平均クエリ数 9.00
最終ジャッジ日時 2023-09-23 21:12:01
合計ジャッジ時間 6,163 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 136 ms
31,060 KB
testcase_01 AC 135 ms
31,120 KB
testcase_02 AC 132 ms
30,868 KB
testcase_03 AC 131 ms
31,232 KB
testcase_04 AC 130 ms
31,440 KB
testcase_05 AC 127 ms
30,860 KB
testcase_06 AC 130 ms
30,880 KB
testcase_07 AC 130 ms
31,092 KB
testcase_08 AC 132 ms
30,796 KB
testcase_09 AC 127 ms
31,376 KB
testcase_10 AC 127 ms
31,340 KB
testcase_11 AC 130 ms
30,608 KB
testcase_12 AC 133 ms
30,748 KB
testcase_13 AC 129 ms
31,200 KB
testcase_14 AC 130 ms
31,420 KB
testcase_15 AC 132 ms
31,024 KB
testcase_16 AC 132 ms
30,844 KB
testcase_17 AC 129 ms
30,844 KB
testcase_18 AC 136 ms
30,936 KB
testcase_19 AC 132 ms
30,948 KB
testcase_20 AC 130 ms
31,128 KB
testcase_21 AC 126 ms
31,256 KB
testcase_22 AC 128 ms
31,092 KB
testcase_23 AC 128 ms
31,232 KB
testcase_24 AC 130 ms
30,944 KB
testcase_25 AC 131 ms
30,928 KB
testcase_26 AC 128 ms
31,284 KB
testcase_27 AC 130 ms
30,672 KB
testcase_28 AC 129 ms
31,092 KB
testcase_29 AC 129 ms
31,084 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

N,K=gets.split.map &:to_i
9.times{|i|p~-N%-~K-~K*i}
0