結果
| 問題 | No.857 素振り |
| コンテスト | |
| ユーザー |
simamumu
|
| 提出日時 | 2019-08-09 21:21:22 |
| 言語 | Python3 (3.15.2 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 25 ms / 1,000 ms |
| + 324µs | |
| コード長 | 400 bytes |
| 記録 | |
| コンパイル時間 | 53 ms |
| コンパイル使用メモリ | 14,848 KB |
| 実行使用メモリ | 11,648 KB |
| 最終ジャッジ日時 | 2026-11-27 21:35:28 |
| 合計ジャッジ時間 | 1,854 ms |
|
ジャッジサーバーID (参考情報) |
judge6_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 9 |
ソースコード
from collections import defaultdict,deque
import sys,heapq,bisect,math,itertools,string,queue,copy,time
sys.setrecursionlimit(10**8)
INF = float('inf')
mod = 10**9+7
eps = 10**-7
def inp(): return int(input())
def inpl(): return list(map(int, input().split()))
def inpl_str(): return list(input().split())
X,Y,Z = inpl()
if Z < X:
print(Z)
elif X <= Z < Y:
print(Z-1)
else:
print(Z-2)
simamumu