結果

問題 No.1748 Parking Lot
ユーザー titia
提出日時 2021-11-19 21:58:38
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 114 bytes
コンパイル時間 333 ms
コンパイル使用メモリ 12,032 KB
実行使用メモリ 10,112 KB
最終ジャッジ日時 2025-01-01 17:27:55
合計ジャッジ時間 2,404 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 21 WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = sys.stdin.readline

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

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