結果
問題 |
No.977 アリス仕掛けの摩天楼
|
ユーザー |
![]() |
提出日時 | 2020-01-31 23:13:53 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 198 bytes |
コンパイル時間 | 101 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 16,640 KB |
最終ジャッジ日時 | 2024-09-17 10:30:31 |
合計ジャッジ時間 | 10,880 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 15 WA * 3 TLE * 1 -- * 7 |
ソースコード
n=int(input()) a=[] for i in range(n-1): u,v=map(int,input().split()) if u not in a: a.append(u) if v not in a: a.append(v) q=n+1-len(a) if q>=2: print("Alice") else: print("Bob")