結果

問題 No.977 アリス仕掛けの摩天楼
ユーザー kyamerlkyamerl
提出日時 2020-01-31 22:43:46
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 198 bytes
コンパイル時間 135 ms
コンパイル使用メモリ 11,852 KB
実行使用メモリ 53,056 KB
最終ジャッジ日時 2023-10-17 11:18:06
合計ジャッジ時間 4,025 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 AC 28 ms
10,188 KB
testcase_04 AC 29 ms
10,188 KB
testcase_05 AC 29 ms
10,188 KB
testcase_06 AC 30 ms
10,188 KB
testcase_07 AC 30 ms
10,204 KB
testcase_08 AC 29 ms
10,216 KB
testcase_09 WA -
testcase_10 WA -
testcase_11 AC 29 ms
10,216 KB
testcase_12 AC 29 ms
10,216 KB
testcase_13 AC 59 ms
14,480 KB
testcase_14 AC 58 ms
14,480 KB
testcase_15 AC 59 ms
14,480 KB
testcase_16 AC 58 ms
14,480 KB
testcase_17 AC 60 ms
14,480 KB
testcase_18 AC 120 ms
23,684 KB
testcase_19 WA -
testcase_20 AC 174 ms
30,420 KB
testcase_21 AC 257 ms
40,508 KB
testcase_22 AC 343 ms
51,364 KB
testcase_23 WA -
testcase_24 AC 351 ms
53,052 KB
testcase_25 WA -
権限があれば一括ダウンロードができます

ソースコード

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