結果
| 問題 |
No.857 素振り
|
| コンテスト | |
| ユーザー |
integer
|
| 提出日時 | 2019-08-21 14:48:02 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 4 ms / 1,000 ms |
| コード長 | 287 bytes |
| コンパイル時間 | 2,174 ms |
| コンパイル使用メモリ | 192,256 KB |
| 最終ジャッジ日時 | 2025-01-07 14:33:14 |
|
ジャッジサーバーID (参考情報) |
judge2 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 8 |
ソースコード
#include <bits/stdc++.h>
#define rep(i,n) for (int i =0;i < (n); ++i)
using namespace std;
typedef long long ll;
int main() {
ll a,b,c;
cin>>a>>b>>c;
ll ans=c;
if ( a<=c ) {
ans--;
}
if ( b<=c ) {
ans--;
}
cout<<ans<<endl;
return 0;
}
integer