結果

問題 No.250 atetubouのzetubou
ユーザー tnoda_tnoda_
提出日時 2015-08-17 18:35:39
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 276 bytes
コンパイル時間 69 ms
コンパイル使用メモリ 6,708 KB
実行使用メモリ 6,452 KB
最終ジャッジ日時 2023-09-25 12:35:38
合計ジャッジ時間 3,406 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 37 ms
6,136 KB
testcase_01 AC 16 ms
6,028 KB
testcase_02 AC 51 ms
6,228 KB
testcase_03 AC 56 ms
6,340 KB
testcase_04 AC 49 ms
6,384 KB
testcase_05 AC 50 ms
6,396 KB
testcase_06 AC 41 ms
6,364 KB
testcase_07 AC 28 ms
6,168 KB
testcase_08 AC 48 ms
6,220 KB
testcase_09 AC 39 ms
6,144 KB
testcase_10 AC 51 ms
6,300 KB
testcase_11 AC 35 ms
6,312 KB
testcase_12 AC 48 ms
6,324 KB
testcase_13 AC 32 ms
6,252 KB
testcase_14 AC 11 ms
5,964 KB
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 AC 11 ms
6,096 KB
testcase_21 AC 12 ms
6,008 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

def solve():
    D, X, T = map(int, raw_input().strip().split())
    ans = 1
    for c in xrange(1, D):
        r = c + X
        ans = ans * r / c
        if ans > T:
            print("ZETUBOU")
            return
    print("AC")

Q = input()
for i in range(Q):
    solve()
0