結果

問題 No.1748 Parking Lot
ユーザー maple_1016
提出日時 2021-11-25 17:23:25
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 145 bytes
コンパイル時間 1,571 ms
コンパイル使用メモリ 164,752 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-06-28 09:59:01
合計ジャッジ時間 2,406 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 2
other AC * 2 WA * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
using namespace std;

int main(){
  int n,k; cin>>n>>k;
  if(n!=k-1) cout<<k-1<<endl;
  else cout<<k<<endl;
  return 0;
}
0