結果
問題 |
No.250 atetubouのzetubou
|
ユーザー |
![]() |
提出日時 | 2016-04-15 06:21:51 |
言語 | Python2 (2.7.18) |
結果 |
TLE
|
実行時間 | - |
コード長 | 223 bytes |
コンパイル時間 | 69 ms |
コンパイル使用メモリ | 6,912 KB |
実行使用メモリ | 15,012 KB |
最終ジャッジ日時 | 2024-10-04 09:22:28 |
合計ジャッジ時間 | 12,986 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | -- * 2 |
other | AC * 1 TLE * 2 -- * 17 |
ソースコード
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"