結果
| 問題 |
No.977 アリス仕掛けの摩天楼
|
| ユーザー |
tyawanmusi
|
| 提出日時 | 2020-01-31 21:29:28 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 164 bytes |
| コンパイル時間 | 97 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 11,392 KB |
| 最終ジャッジ日時 | 2024-09-17 07:12:56 |
| 合計ジャッジ時間 | 3,417 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 21 WA * 5 |
ソースコード
n=int(input())
x=[0]*n
for i in range(n-1):
a,b=map(int,input().split())
x[a]+=1
x[b]+=1
if x.count(1)==2 and x.count(2)==n-2:print("Bob")
else:print("Alice")
tyawanmusi