結果

問題 No.250 atetubouのzetubou
ユーザー %20%20
提出日時 2018-06-05 19:27:31
言語 Ruby
(3.3.0)
結果
AC  
実行時間 774 ms / 5,000 ms
コード長 109 bytes
コンパイル時間 57 ms
コンパイル使用メモリ 11,396 KB
実行使用メモリ 22,164 KB
最終ジャッジ日時 2023-09-12 22:33:11
合計ジャッジ時間 12,894 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 479 ms
21,900 KB
testcase_01 AC 155 ms
21,408 KB
testcase_02 AC 705 ms
22,008 KB
testcase_03 AC 774 ms
21,832 KB
testcase_04 AC 690 ms
22,164 KB
testcase_05 AC 716 ms
21,976 KB
testcase_06 AC 568 ms
21,892 KB
testcase_07 AC 323 ms
21,976 KB
testcase_08 AC 668 ms
22,060 KB
testcase_09 AC 518 ms
21,812 KB
testcase_10 AC 702 ms
21,860 KB
testcase_11 AC 460 ms
21,968 KB
testcase_12 AC 653 ms
22,108 KB
testcase_13 AC 391 ms
21,828 KB
testcase_14 AC 88 ms
20,624 KB
testcase_15 AC 557 ms
17,488 KB
testcase_16 AC 558 ms
17,572 KB
testcase_17 AC 545 ms
17,580 KB
testcase_18 AC 559 ms
17,676 KB
testcase_19 AC 545 ms
17,576 KB
testcase_20 AC 77 ms
15,188 KB
testcase_21 AC 80 ms
15,968 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

a=[1]
f=->x{a[x]||=x*f[x-1]}
gets
$<.map{|l|eval'D,X,T='+l.split*?,
puts T<f[X+D-=1]/f[D]/f[X]?:ZETUBOU: :AC}
0