結果

問題 No.977 アリス仕掛けの摩天楼
ユーザー kyamerl
提出日時 2020-01-31 22:43:46
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 198 bytes
コンパイル時間 94 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 47,256 KB
最終ジャッジ日時 2024-09-17 09:35:54
合計ジャッジ時間 3,658 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 18 WA * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

n  = int(input())
s = [input().split() for i in range(n-1)]
res = [int(flatten) for inner in s for flatten in inner]
res = list(set(res))
if n+1 > len(res):
    print("Alice")
else:
    print("Bob")
0