結果
| 問題 |
No.857 素振り
|
| コンテスト | |
| ユーザー |
shoshosho
|
| 提出日時 | 2019-08-14 16:10:37 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 1,000 ms |
| コード長 | 314 bytes |
| コンパイル時間 | 1,338 ms |
| コンパイル使用メモリ | 157,548 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-09-19 14:29:48 |
| 合計ジャッジ時間 | 1,614 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 8 |
ソースコード
#include "bits/stdc++.h"
using namespace std;
typedef long long ll;
#define rep(i, j, n) for (int i = j; i < n; i++)
#define out(ans) cout << ans << endl;
const long long mod = 1e9 + 7;
int main() {
ll x,y,z;cin>>x>>y>>z;
int count=0;
if(x<=z)count++;
if(y<=z)count++;
out(z-count);
return 0;
}
shoshosho