結果
| 問題 |
No.857 素振り
|
| コンテスト | |
| ユーザー |
water
|
| 提出日時 | 2020-03-05 15:22:15 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 1,000 ms |
| コード長 | 183 bytes |
| コンパイル時間 | 1,493 ms |
| コンパイル使用メモリ | 164,872 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-10-14 01:16:09 |
| 合計ジャッジ時間 | 2,092 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 8 |
ソースコード
#include <bits/stdc++.h>
#define INF 990000000
//12
using namespace std;
int main() {
long long int x,y,z=0;
cin>>x>>y>>z;
int f=0;
if(z>=x)f++;
if(z>=y)f++;
cout<< z-f<<endl;
}
water