結果

問題 No.250 atetubouのzetubou
ユーザー %20%20
提出日時 2018-06-05 19:33:50
言語 Ruby
(3.3.0)
結果
AC  
実行時間 630 ms / 5,000 ms
コード長 107 bytes
コンパイル時間 117 ms
コンパイル使用メモリ 11,524 KB
実行使用メモリ 23,540 KB
最終ジャッジ日時 2023-09-12 22:31:52
合計ジャッジ時間 10,051 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 403 ms
23,152 KB
testcase_01 AC 148 ms
22,400 KB
testcase_02 AC 560 ms
23,380 KB
testcase_03 AC 630 ms
23,364 KB
testcase_04 AC 552 ms
23,540 KB
testcase_05 AC 568 ms
23,340 KB
testcase_06 AC 451 ms
23,292 KB
testcase_07 AC 269 ms
22,652 KB
testcase_08 AC 534 ms
23,184 KB
testcase_09 AC 424 ms
23,040 KB
testcase_10 AC 563 ms
23,136 KB
testcase_11 AC 375 ms
23,296 KB
testcase_12 AC 516 ms
23,372 KB
testcase_13 AC 324 ms
23,140 KB
testcase_14 AC 91 ms
20,920 KB
testcase_15 AC 376 ms
18,640 KB
testcase_16 AC 378 ms
18,396 KB
testcase_17 AC 379 ms
18,416 KB
testcase_18 AC 368 ms
18,400 KB
testcase_19 AC 377 ms
18,380 KB
testcase_20 AC 80 ms
15,252 KB
testcase_21 AC 83 ms
16,072 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

a=[1]
f=->x{a[x]||=x*f[x-1]}
gets
$<.map{|l|puts eval'f[(d=%d-1)+x=%d]/f[d]/f[x]>%d?:ZETUBOU: :AC'%l.split}
0