結果

問題 No.1748 Parking Lot
ユーザー ShirotsumeShirotsume
提出日時 2021-11-19 21:35:40
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 86 bytes
コンパイル時間 287 ms
コンパイル使用メモリ 87,016 KB
実行使用メモリ 71,576 KB
最終ジャッジ日時 2023-08-30 07:38:12
合計ジャッジ時間 3,113 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 71 ms
71,336 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 72 ms
71,064 KB
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 AC 72 ms
71,256 KB
testcase_16 WA -
testcase_17 AC 74 ms
71,440 KB
testcase_18 AC 72 ms
71,288 KB
testcase_19 WA -
testcase_20 WA -
testcase_21 WA -
testcase_22 AC 70 ms
71,224 KB
testcase_23 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

n,k=map(int,input().split())
if n==k: print(k-1)
elif n % 2:print(k+1)
else:print(k+2)
0