結果
問題 |
No.250 atetubouのzetubou
|
ユーザー |
![]() |
提出日時 | 2022-07-13 02:59:07 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
MLE
|
実行時間 | - |
コード長 | 413 bytes |
コンパイル時間 | 182 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 817,920 KB |
最終ジャッジ日時 | 2024-06-24 01:03:31 |
合計ジャッジ時間 | 6,757 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | -- * 2 |
other | MLE * 1 -- * 19 |
ソースコード
import sys input = sys.stdin.readline N=3500 Combi=[[] for i in range(N+1)] Combi[0]=[1,0] for i in range(1,N+1): Combi[i].append(1) for j in range(i): Combi[i].append(Combi[i-1][j]+Combi[i-1][j+1]) Combi[i].append(0) T=int(input()) for tests in range(T): d,x,t=map(int,input().split()) ans=Combi[x+d-1][d-1] if ans<=t: print("AC") else: print("ZETUBOU")