結果

問題 No.857 素振り
ユーザー Tsukasa Noguchi
提出日時 2019-08-18 14:35:23
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 244 bytes
コンパイル時間 530 ms
コンパイル使用メモリ 66,668 KB
最終ジャッジ日時 2025-01-07 14:11:09
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 1
other AC * 5 WA * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>

using namespace std;

int main() {
    long long int x, y, z;
    cin >> x >> y >> z;

    long long int c = z;
    if (z > x) {
        c--;
    }
    if (z > y) {
        c--;
    }
    cout << c << endl;

    return 0;
}
0