結果
| 問題 | No.857 素振り |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-09-11 06:15:02 |
| 言語 | C++17 (gcc 15.3.0 + boost 1.92.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 1 ms / 1,000 ms |
| + 801µs | |
| コード長 | 333 bytes |
| 記録 | |
| コンパイル時間 | 1,246 ms |
| コンパイル使用メモリ | 214,092 KB |
| 実行使用メモリ | 9,832 KB |
| 最終ジャッジ日時 | 2026-11-27 22:07:47 |
| 合計ジャッジ時間 | 2,426 ms |
|
ジャッジサーバーID (参考情報) |
judge6_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 9 |
ソースコード
#include <bits/stdc++.h>
#define rep(i, ss, ee) for (int i = ss; i < ee; ++i)
using namespace std;
void solve() {
unsigned long long x, y, z, ans = 0;
cin >> x >> y >> z;
if (x <= z) ans++;
if (y <= z) ans++;
cout << (z - ans) << endl;
}
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
solve();
getchar();
}