結果
| 問題 |
No.857 素振り
|
| コンテスト | |
| ユーザー |
d_sei
|
| 提出日時 | 2019-08-10 18:54:53 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 1,000 ms |
| コード長 | 233 bytes |
| コンパイル時間 | 438 ms |
| コンパイル使用メモリ | 58,584 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-07-19 17:17:08 |
| 合計ジャッジ時間 | 953 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 8 |
ソースコード
#include<iostream>
#include<algorithm>
#include <vector>
using namespace std;
int main() {
long long int X, Y, Z;
cin >> X >> Y >> Z;
long long int p;
p = Z;
if (X <= Z) {
p--;
}
if (Y <= Z) {
p--;
}
cout << p << endl;
}
d_sei