結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 147 ms
30,760 KB
testcase_01 AC 134 ms
30,820 KB
testcase_02 AC 129 ms
31,316 KB
testcase_03 AC 130 ms
30,796 KB
testcase_04 AC 131 ms
30,928 KB
testcase_05 AC 132 ms
31,192 KB
testcase_06 AC 133 ms
30,884 KB
testcase_07 AC 130 ms
31,108 KB
testcase_08 AC 132 ms
31,300 KB
testcase_09 AC 130 ms
31,212 KB
testcase_10 AC 132 ms
30,556 KB
testcase_11 AC 130 ms
30,780 KB
testcase_12 AC 131 ms
30,892 KB
testcase_13 AC 133 ms
31,172 KB
testcase_14 AC 134 ms
31,388 KB
testcase_15 AC 133 ms
30,964 KB
testcase_16 AC 129 ms
30,900 KB
testcase_17 AC 128 ms
31,552 KB
testcase_18 AC 132 ms
31,392 KB
testcase_19 AC 133 ms
30,800 KB
testcase_20 AC 130 ms
30,780 KB
testcase_21 AC 131 ms
31,128 KB
testcase_22 AC 131 ms
31,184 KB
testcase_23 AC 127 ms
31,036 KB
testcase_24 AC 127 ms
31,336 KB
testcase_25 AC 129 ms
30,824 KB
testcase_26 AC 128 ms
30,816 KB
testcase_27 AC 131 ms
31,348 KB
testcase_28 AC 131 ms
31,108 KB
testcase_29 AC 129 ms
30,760 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

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