結果
| 問題 | No.977 アリス仕掛けの摩天楼 |
| コンテスト | |
| ユーザー |
ion0002
|
| 提出日時 | 2020-01-31 23:13:53 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0 + ACL) |
| 結果 |
WA
不安定
|
| 実行時間 | - |
| コード長 | 198 bytes |
| 記録 | |
| コンパイル時間 | 284 ms |
| コンパイル使用メモリ | 21,408 KB |
| 実行使用メモリ | 15,868 KB |
| 最終ジャッジ日時 | 2026-08-29 12:09:04 |
| 合計ジャッジ時間 | 10,987 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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")
ion0002