結果

問題 No.994 ばらばらコイン
ユーザー 8ayac8ayac
提出日時 2020-02-21 23:24:29
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
WA  
実行時間 -
コード長 117 bytes
コンパイル時間 120 ms
コンパイル使用メモリ 10,492 KB
実行使用メモリ 37,252 KB
最終ジャッジ日時 2023-07-30 08:07:39
合計ジャッジ時間 3,788 ms
ジャッジサーバーID
(参考情報)
judge5 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 15 ms
7,800 KB
testcase_02 AC 248 ms
37,192 KB
testcase_03 AC 244 ms
37,160 KB
testcase_04 AC 249 ms
37,252 KB
testcase_05 AC 124 ms
22,512 KB
testcase_06 WA -
testcase_07 AC 251 ms
37,156 KB
testcase_08 AC 163 ms
27,900 KB
testcase_09 AC 236 ms
35,420 KB
testcase_10 AC 167 ms
28,268 KB
testcase_11 AC 186 ms
30,684 KB
testcase_12 AC 199 ms
32,692 KB
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 16 ms
7,820 KB
testcase_17 AC 15 ms
7,860 KB
testcase_18 AC 15 ms
7,772 KB
testcase_19 AC 15 ms
7,736 KB
testcase_20 AC 15 ms
7,808 KB
testcase_21 AC 15 ms
7,820 KB
testcase_22 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

n, k = [int(i) for i in input().split()]
ab = [input().split() for i in range(n - 1)]

print(k - 1 if n > k else -1)
0