結果
問題 |
No.1748 Parking Lot
|
ユーザー |
|
提出日時 | 2024-11-12 15:16:34 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 236 bytes |
コンパイル時間 | 533 ms |
コンパイル使用メモリ | 66,360 KB |
最終ジャッジ日時 | 2025-02-25 04:00:09 |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 21 WA * 1 |
ソースコード
#include <iostream> #include <cstdint> using namespace std; int main() { cin.tie(nullptr); ios::sync_with_stdio(false); uint32_t N, K; cin >> N >> K; if (N - 1 == K) cout << N << '\n'; else cout << N - 1 << '\n'; return 0; }