結果
| 問題 |
No.977 アリス仕掛けの摩天楼
|
| コンテスト | |
| ユーザー |
ion0002
|
| 提出日時 | 2020-01-31 23:19:03 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 199 bytes |
| コンパイル時間 | 100 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 16,512 KB |
| 最終ジャッジ日時 | 2024-09-17 10:38:17 |
| 合計ジャッジ時間 | 11,816 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 13 WA * 5 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>=1:
print("Alice")
else: print("Bob")
ion0002