結果
問題 | No.250 atetubouのzetubou |
ユーザー | taba |
提出日時 | 2016-04-15 06:21:51 |
言語 | Python2 (2.7.18) |
結果 |
TLE
|
実行時間 | - |
コード長 | 223 bytes |
コンパイル時間 | 47 ms |
コンパイル使用メモリ | 6,912 KB |
実行使用メモリ | 14,236 KB |
最終ジャッジ日時 | 2024-04-15 01:44:30 |
合計ジャッジ時間 | 13,033 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | TLE | - |
testcase_01 | -- | - |
testcase_02 | -- | - |
testcase_03 | -- | - |
testcase_04 | -- | - |
testcase_05 | -- | - |
testcase_06 | -- | - |
testcase_07 | -- | - |
testcase_08 | -- | - |
testcase_09 | -- | - |
testcase_10 | -- | - |
testcase_11 | -- | - |
testcase_12 | -- | - |
testcase_13 | -- | - |
testcase_14 | -- | - |
testcase_15 | -- | - |
testcase_16 | -- | - |
testcase_17 | -- | - |
testcase_18 | -- | - |
testcase_19 | -- | - |
testcase_20 | -- | - |
testcase_21 | -- | - |
ソースコード
import math n=input() q=[map(int,raw_input().split())for i in[0]*n] for i in q: x=math.factorial(i[1]+i[0]-1)/(math.factorial(i[0]-1)*math.factorial((i[1]+i[0]-1)-(i[0]-1))) if x<=i[2]: print"AC" else: print"ZETUBOU"