結果

問題 No.1748 Parking Lot
ユーザー KudeKude
提出日時 2021-11-19 21:36:28
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 71 ms / 2,000 ms
コード長 93 bytes
コンパイル時間 403 ms
コンパイル使用メモリ 87,180 KB
実行使用メモリ 71,500 KB
最終ジャッジ日時 2023-08-30 07:39:33
合計ジャッジ時間 3,297 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,304 KB
testcase_01 AC 70 ms
71,192 KB
testcase_02 AC 68 ms
71,032 KB
testcase_03 AC 70 ms
71,500 KB
testcase_04 AC 70 ms
71,296 KB
testcase_05 AC 68 ms
71,480 KB
testcase_06 AC 68 ms
71,184 KB
testcase_07 AC 71 ms
71,212 KB
testcase_08 AC 69 ms
71,236 KB
testcase_09 AC 71 ms
71,224 KB
testcase_10 AC 69 ms
71,420 KB
testcase_11 AC 69 ms
71,396 KB
testcase_12 AC 68 ms
71,352 KB
testcase_13 AC 68 ms
71,232 KB
testcase_14 AC 69 ms
71,076 KB
testcase_15 AC 70 ms
71,128 KB
testcase_16 AC 69 ms
71,188 KB
testcase_17 AC 69 ms
71,232 KB
testcase_18 AC 70 ms
71,104 KB
testcase_19 AC 68 ms
71,212 KB
testcase_20 AC 69 ms
71,036 KB
testcase_21 AC 70 ms
71,316 KB
testcase_22 AC 70 ms
71,192 KB
testcase_23 AC 69 ms
71,308 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n, k = map(int, input().split())
ans = 1 if n == 1 else n if k == n - 1 else n - 1
print(ans)
0