結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 120 ms
30,640 KB
testcase_01 AC 115 ms
30,968 KB
testcase_02 AC 109 ms
30,892 KB
testcase_03 AC 109 ms
31,236 KB
testcase_04 AC 110 ms
30,792 KB
testcase_05 AC 109 ms
30,880 KB
testcase_06 AC 108 ms
30,796 KB
testcase_07 AC 110 ms
31,436 KB
testcase_08 AC 110 ms
31,432 KB
testcase_09 AC 109 ms
30,976 KB
testcase_10 AC 109 ms
31,360 KB
testcase_11 AC 107 ms
31,352 KB
testcase_12 AC 111 ms
31,196 KB
testcase_13 AC 111 ms
30,900 KB
testcase_14 AC 113 ms
31,396 KB
testcase_15 AC 112 ms
31,444 KB
testcase_16 AC 110 ms
31,068 KB
testcase_17 AC 111 ms
31,596 KB
testcase_18 AC 108 ms
31,204 KB
testcase_19 AC 110 ms
31,300 KB
testcase_20 AC 112 ms
31,044 KB
testcase_21 AC 109 ms
31,092 KB
testcase_22 AC 109 ms
30,740 KB
testcase_23 AC 111 ms
30,860 KB
testcase_24 AC 108 ms
30,868 KB
testcase_25 AC 109 ms
31,112 KB
testcase_26 AC 110 ms
30,876 KB
testcase_27 AC 116 ms
30,712 KB
testcase_28 AC 113 ms
30,640 KB
testcase_29 AC 109 ms
31,016 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

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