結果

問題 No.994 ばらばらコイン
ユーザー s_shoheis_shohei
提出日時 2020-04-11 14:13:08
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 162 ms / 2,000 ms
コード長 148 bytes
コンパイル時間 933 ms
コンパイル使用メモリ 81,708 KB
実行使用メモリ 89,028 KB
最終ジャッジ日時 2023-10-19 04:15:08
合計ジャッジ時間 4,198 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 38 ms
53,460 KB
testcase_01 AC 39 ms
53,460 KB
testcase_02 AC 156 ms
89,016 KB
testcase_03 AC 162 ms
89,028 KB
testcase_04 AC 158 ms
89,028 KB
testcase_05 AC 114 ms
81,824 KB
testcase_06 AC 157 ms
89,024 KB
testcase_07 AC 156 ms
89,028 KB
testcase_08 AC 128 ms
84,080 KB
testcase_09 AC 149 ms
87,276 KB
testcase_10 AC 129 ms
84,080 KB
testcase_11 AC 134 ms
84,720 KB
testcase_12 AC 142 ms
86,468 KB
testcase_13 AC 38 ms
53,460 KB
testcase_14 AC 38 ms
53,460 KB
testcase_15 AC 38 ms
53,460 KB
testcase_16 AC 38 ms
53,460 KB
testcase_17 AC 38 ms
53,460 KB
testcase_18 AC 39 ms
53,460 KB
testcase_19 AC 39 ms
53,460 KB
testcase_20 AC 40 ms
53,460 KB
testcase_21 AC 39 ms
53,460 KB
testcase_22 AC 40 ms
53,460 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n,k = map(int, input().split())
l = []
for i in range(n-1):
    l.append(list(map(int,input().split())))

if n<k:
    print(-1)
else:
    print(k-1)
0