結果

問題 No.1773 Love Triangle
ユーザー hitonanode
提出日時 2021-10-09 03:39:02
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 152 bytes
コンパイル時間 638 ms
コンパイル使用メモリ 68,812 KB
最終ジャッジ日時 2025-01-24 23:46:12
ジャッジサーバーID
(参考情報)
judge2 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 WA * 1
other AC * 39 WA * 51
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <algorithm>
#include <iostream>
using namespace std;

int main() {
    int N, M;
    cin >> N >> M;
    cout << min(M, (N - 1) / 2) << endl;
}
0