結果

問題 No.250 atetubouのzetubou
ユーザー TawaraTawara
提出日時 2015-08-01 13:13:12
言語 PyPy2
(7.3.15)
結果
AC  
実行時間 1,715 ms / 5,000 ms
コード長 182 bytes
コンパイル時間 2,277 ms
コンパイル使用メモリ 77,272 KB
実行使用メモリ 86,024 KB
最終ジャッジ日時 2023-09-25 00:06:27
合計ジャッジ時間 25,711 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1,188 ms
85,788 KB
testcase_01 AC 345 ms
81,076 KB
testcase_02 AC 1,508 ms
84,392 KB
testcase_03 AC 1,715 ms
85,472 KB
testcase_04 AC 1,483 ms
84,408 KB
testcase_05 AC 1,546 ms
84,248 KB
testcase_06 AC 1,283 ms
85,204 KB
testcase_07 AC 795 ms
84,300 KB
testcase_08 AC 1,441 ms
84,988 KB
testcase_09 AC 1,230 ms
86,024 KB
testcase_10 AC 1,552 ms
84,736 KB
testcase_11 AC 1,064 ms
82,784 KB
testcase_12 AC 1,407 ms
85,296 KB
testcase_13 AC 856 ms
83,192 KB
testcase_14 AC 101 ms
79,240 KB
testcase_15 AC 761 ms
83,548 KB
testcase_16 AC 746 ms
83,280 KB
testcase_17 AC 760 ms
83,136 KB
testcase_18 AC 734 ms
83,052 KB
testcase_19 AC 737 ms
84,036 KB
testcase_20 AC 70 ms
76,208 KB
testcase_21 AC 74 ms
77,328 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from math import factorial as fact
Q = int(raw_input())
for i in range(Q):
	D,X,T = map(int,raw_input().split(" "))
	print "AC" if fact(X+D-1)/(fact(X)*fact(D-1)) <= T else "ZETUBOU"
0