結果

問題 No.994 ばらばらコイン
ユーザー O2MTO2MT
提出日時 2021-02-27 19:56:57
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 143 ms / 2,000 ms
コード長 110 bytes
コンパイル時間 258 ms
コンパイル使用メモリ 82,572 KB
実行使用メモリ 94,268 KB
最終ジャッジ日時 2024-04-10 15:49:51
合計ジャッジ時間 3,067 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 37 ms
52,628 KB
testcase_01 AC 34 ms
52,624 KB
testcase_02 AC 135 ms
94,268 KB
testcase_03 AC 138 ms
93,936 KB
testcase_04 AC 143 ms
93,832 KB
testcase_05 AC 107 ms
86,884 KB
testcase_06 AC 139 ms
93,968 KB
testcase_07 AC 142 ms
93,808 KB
testcase_08 AC 111 ms
86,936 KB
testcase_09 AC 140 ms
94,172 KB
testcase_10 AC 111 ms
86,704 KB
testcase_11 AC 132 ms
93,756 KB
testcase_12 AC 132 ms
93,828 KB
testcase_13 AC 35 ms
52,996 KB
testcase_14 AC 35 ms
52,508 KB
testcase_15 AC 36 ms
53,464 KB
testcase_16 AC 35 ms
52,092 KB
testcase_17 AC 37 ms
52,672 KB
testcase_18 AC 37 ms
52,832 KB
testcase_19 AC 37 ms
52,072 KB
testcase_20 AC 36 ms
52,152 KB
testcase_21 AC 36 ms
52,888 KB
testcase_22 AC 36 ms
52,236 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N,K = map(int,input().split())
_ = [map(int,input().split()) for _ in range(N-1)]
print(K-1 if N >= K else -1)
0