結果
| 問題 | No.857 素振り |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-08-01 03:31:55 |
| 言語 | C++23 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 538 bytes |
| 記録 | |
| コンパイル時間 | 1,926 ms |
| コンパイル使用メモリ | 328,700 KB |
| 実行使用メモリ | 9,348 KB |
| 最終ジャッジ日時 | 2026-07-13 16:04:10 |
| 合計ジャッジ時間 | 2,965 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 2 WA * 6 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
/////////////////// メイン ///////////////////
int main () {
//////////////////// 入力 ////////////////////
int x, y, z;
cin >> x >> y >> z;
//////////////// 出力変数定義 ////////////////
int result = 0;
//////////////////// 処理 ////////////////////
result = z;
if (x<=z) result --;
if (y<=z) result --;
//////////////////// 出力 ////////////////////
cout << result << endl;
//////////////////// 終了 ////////////////////
return 0;
}