結果
| 問題 | No.977 アリス仕掛けの摩天楼 |
| コンテスト | |
| ユーザー |
maguchi_p_q
|
| 提出日時 | 2020-02-12 19:32:13 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0 + ACL) |
| 結果 |
WA
不安定
|
| 実行時間 | - |
| コード長 | 196 bytes |
| 記録 | |
| コンパイル時間 | 55 ms |
| コンパイル使用メモリ | 15,232 KB |
| 実行使用メモリ | 25,124 KB |
| 最終ジャッジ日時 | 2026-09-09 23:42:41 |
| 合計ジャッジ時間 | 3,864 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 21 WA * 5 |
ソースコード
N = int(input())
ans = []
for i in range(N-1):
u,v = [int(zz) for zz in input().split()]
ans.append(u)
ans.append(v)
if len(set(ans)) == N:
print('Bob')
else:
print('Alice')
maguchi_p_q