結果

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

ソースコード

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 > len(res):
    print("Bob")
else:
    print("Alice")
0