結果

問題 No.250 atetubouのzetubou
ユーザー %20%20
提出日時 2018-06-05 19:25:40
言語 Ruby
(3.3.0)
結果
AC  
実行時間 743 ms / 5,000 ms
コード長 110 bytes
コンパイル時間 235 ms
コンパイル使用メモリ 11,280 KB
実行使用メモリ 22,248 KB
最終ジャッジ日時 2023-09-12 22:31:16
合計ジャッジ時間 11,873 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 449 ms
22,248 KB
testcase_01 AC 151 ms
21,428 KB
testcase_02 AC 654 ms
22,064 KB
testcase_03 AC 743 ms
21,904 KB
testcase_04 AC 653 ms
22,164 KB
testcase_05 AC 655 ms
22,172 KB
testcase_06 AC 531 ms
22,208 KB
testcase_07 AC 301 ms
21,812 KB
testcase_08 AC 613 ms
22,072 KB
testcase_09 AC 495 ms
21,808 KB
testcase_10 AC 657 ms
21,988 KB
testcase_11 AC 434 ms
22,076 KB
testcase_12 AC 619 ms
21,952 KB
testcase_13 AC 376 ms
21,900 KB
testcase_14 AC 89 ms
20,720 KB
testcase_15 AC 497 ms
17,592 KB
testcase_16 AC 497 ms
17,732 KB
testcase_17 AC 489 ms
17,584 KB
testcase_18 AC 492 ms
17,552 KB
testcase_19 AC 500 ms
17,588 KB
testcase_20 AC 78 ms
15,280 KB
testcase_21 AC 81 ms
16,156 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-1]/f[X]?:ZETUBOU: :AC}
0