結果

問題 No.857 素振り
ユーザー ngtkana
提出日時 2019-08-09 21:22:34
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 3 ms / 1,000 ms
コード長 204 bytes
コンパイル時間 1,983 ms
コンパイル使用メモリ 191,256 KB
最終ジャッジ日時 2025-01-07 11:13:55
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
int main() {
  std::cin.tie(0); std::cin.sync_with_stdio(false);
  long long a, b, c;
  std::cin >> a >> b >> c;
  std::cout << c - (a <= c) - (b <= c) << std::endl;
  return 0;
}
0