結果

問題 No.1748 Parking Lot
ユーザー roarisroaris
提出日時 2021-11-19 22:09:00
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 143 bytes
コンパイル時間 749 ms
コンパイル使用メモリ 87,208 KB
実行使用メモリ 72,008 KB
最終ジャッジ日時 2023-08-30 08:41:21
合計ジャッジ時間 4,226 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 93 ms
71,624 KB
testcase_01 AC 92 ms
71,624 KB
testcase_02 AC 92 ms
71,700 KB
testcase_03 AC 92 ms
71,364 KB
testcase_04 AC 94 ms
71,864 KB
testcase_05 AC 94 ms
71,640 KB
testcase_06 AC 92 ms
71,540 KB
testcase_07 AC 92 ms
71,564 KB
testcase_08 AC 93 ms
71,544 KB
testcase_09 AC 93 ms
71,536 KB
testcase_10 AC 94 ms
71,792 KB
testcase_11 AC 95 ms
71,608 KB
testcase_12 AC 94 ms
71,780 KB
testcase_13 AC 94 ms
71,408 KB
testcase_14 AC 93 ms
71,692 KB
testcase_15 AC 93 ms
71,764 KB
testcase_16 AC 94 ms
71,576 KB
testcase_17 AC 94 ms
71,856 KB
testcase_18 AC 93 ms
71,556 KB
testcase_19 AC 94 ms
71,576 KB
testcase_20 AC 96 ms
71,860 KB
testcase_21 AC 93 ms
71,768 KB
testcase_22 AC 96 ms
71,660 KB
testcase_23 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = sys.stdin.readline
from collections import *

N, K = map(int, input().split())

if K==N-1:
    print(N)
else:
    print(N-1)
0