結果

問題 No.250 atetubouのzetubou
ユーザー %20%20
提出日時 2018-06-05 19:11:34
言語 Ruby
(3.3.0)
結果
AC  
実行時間 390 ms / 5,000 ms
コード長 119 bytes
コンパイル時間 441 ms
コンパイル使用メモリ 11,284 KB
実行使用メモリ 22,596 KB
最終ジャッジ日時 2023-09-12 22:30:45
合計ジャッジ時間 7,565 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 262 ms
22,200 KB
testcase_01 AC 114 ms
21,532 KB
testcase_02 AC 355 ms
22,248 KB
testcase_03 AC 390 ms
22,324 KB
testcase_04 AC 354 ms
22,340 KB
testcase_05 AC 366 ms
22,436 KB
testcase_06 AC 301 ms
22,324 KB
testcase_07 AC 188 ms
21,812 KB
testcase_08 AC 339 ms
22,456 KB
testcase_09 AC 276 ms
22,468 KB
testcase_10 AC 359 ms
22,308 KB
testcase_11 AC 248 ms
22,596 KB
testcase_12 AC 335 ms
22,388 KB
testcase_13 AC 219 ms
22,136 KB
testcase_14 AC 88 ms
20,756 KB
testcase_15 AC 164 ms
17,276 KB
testcase_16 AC 163 ms
17,184 KB
testcase_17 AC 162 ms
17,188 KB
testcase_18 AC 162 ms
17,212 KB
testcase_19 AC 163 ms
17,248 KB
testcase_20 AC 76 ms
15,260 KB
testcase_21 AC 79 ms
16,020 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

a=[]
f=->x{a[x]||=x<2?1:x*f[x-1]}
gets
$<.map{|l|d,x,t=l.split.map &:to_i
	puts t<f[x+d-1]/f[d-1]/f[x]?:ZETUBOU: :AC
}
0