結果

問題 No.129 お年玉(2)
ユーザー gigurururugigurururu
提出日時 2015-01-16 23:30:49
言語 Ruby
(3.2.1 )
結果
AC  
実行時間 95 ms / 5,000 ms
コード長 80 bytes
コンパイル時間 34 ms
実行使用メモリ 16,444 KB
最終ジャッジ日時 2023-01-04 19:09:43
合計ジャッジ時間 6,077 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
14,084 KB
testcase_01 AC 75 ms
14,032 KB
testcase_02 AC 75 ms
13,908 KB
testcase_03 AC 76 ms
13,816 KB
testcase_04 AC 74 ms
13,956 KB
testcase_05 AC 76 ms
14,228 KB
testcase_06 AC 90 ms
15,716 KB
testcase_07 AC 89 ms
15,920 KB
testcase_08 AC 79 ms
14,348 KB
testcase_09 AC 87 ms
15,864 KB
testcase_10 AC 90 ms
15,724 KB
testcase_11 AC 88 ms
15,540 KB
testcase_12 AC 76 ms
14,184 KB
testcase_13 AC 76 ms
14,116 KB
testcase_14 AC 90 ms
16,032 KB
testcase_15 AC 87 ms
15,628 KB
testcase_16 AC 91 ms
16,020 KB
testcase_17 AC 85 ms
15,644 KB
testcase_18 AC 85 ms
15,664 KB
testcase_19 AC 79 ms
14,580 KB
testcase_20 AC 93 ms
16,304 KB
testcase_21 AC 87 ms
15,616 KB
testcase_22 AC 86 ms
15,380 KB
testcase_23 AC 88 ms
15,812 KB
testcase_24 AC 74 ms
14,080 KB
testcase_25 AC 87 ms
15,544 KB
testcase_26 AC 81 ms
14,992 KB
testcase_27 AC 82 ms
15,000 KB
testcase_28 AC 95 ms
16,444 KB
testcase_29 AC 74 ms
13,852 KB
testcase_30 AC 74 ms
14,052 KB
testcase_31 AC 73 ms
13,988 KB
testcase_32 AC 74 ms
13,840 KB
testcase_33 AC 75 ms
13,712 KB
testcase_34 AC 73 ms
13,848 KB
testcase_35 AC 73 ms
13,816 KB
testcase_36 AC 75 ms
13,848 KB
testcase_37 AC 74 ms
13,840 KB
testcase_38 AC 77 ms
14,332 KB
testcase_39 AC 77 ms
14,520 KB
testcase_40 AC 82 ms
15,252 KB
testcase_41 AC 83 ms
14,732 KB
testcase_42 AC 77 ms
14,440 KB
testcase_43 AC 75 ms
14,068 KB
testcase_44 AC 78 ms
14,736 KB
testcase_45 AC 77 ms
14,084 KB
testcase_46 AC 76 ms
14,044 KB
testcase_47 AC 87 ms
15,628 KB
testcase_48 AC 77 ms
14,528 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

n=gets.to_i
m=gets.to_i
p [*1..m].combination(n/1000-n/1000/m*m).size%1000000000
0