結果

問題 No.250 atetubouのzetubou
ユーザー 👑 rin204rin204
提出日時 2022-01-20 07:21:12
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 313 bytes
コンパイル時間 418 ms
コンパイル使用メモリ 86,748 KB
実行使用メモリ 78,556 KB
最終ジャッジ日時 2023-08-15 08:26:09
合計ジャッジ時間 4,889 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 125 ms
77,360 KB
testcase_01 AC 93 ms
76,204 KB
testcase_02 AC 131 ms
77,208 KB
testcase_03 AC 134 ms
77,324 KB
testcase_04 AC 133 ms
77,324 KB
testcase_05 AC 138 ms
78,180 KB
testcase_06 AC 131 ms
78,240 KB
testcase_07 AC 120 ms
77,436 KB
testcase_08 AC 128 ms
77,416 KB
testcase_09 AC 127 ms
77,348 KB
testcase_10 AC 135 ms
77,504 KB
testcase_11 AC 123 ms
77,416 KB
testcase_12 AC 131 ms
77,216 KB
testcase_13 AC 122 ms
77,348 KB
testcase_14 AC 72 ms
71,052 KB
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 AC 72 ms
71,152 KB
testcase_21 AC 72 ms
70,912 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

def solve():
    d, x, t = map(int, input().split())
    n = x + d - 1
    r = min(x, d - 1)
    ans = 1
    for i in range(1, r + 1):
        ans *= n - i + 1
        ans //= i
        if ans > t:
            print("ZETUBOU")
            return
    print("AC")
    
    
for _ in range(int(input())):
    solve()
0