結果

問題 No.857 素振り
ユーザー toshiro_yanagitoshiro_yanagi
提出日時 2022-07-03 19:23:18
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 74 ms / 1,000 ms
コード長 388 bytes
コンパイル時間 1,659 ms
コンパイル使用メモリ 86,756 KB
実行使用メモリ 71,400 KB
最終ジャッジ日時 2023-08-19 20:03:19
合計ジャッジ時間 2,949 ms
ジャッジサーバーID
(参考情報)
judge10 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,044 KB
testcase_01 AC 72 ms
71,184 KB
testcase_02 AC 71 ms
71,208 KB
testcase_03 AC 71 ms
71,208 KB
testcase_04 AC 73 ms
71,368 KB
testcase_05 AC 71 ms
71,400 KB
testcase_06 AC 73 ms
71,192 KB
testcase_07 AC 74 ms
71,084 KB
testcase_08 AC 73 ms
71,212 KB
testcase_09 AC 74 ms
71,212 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

fmt_scan = []


def main():
    x, y, z = [next_int() for _ in range(3)]
    ans = z
    for v in {x, y}:
        if v <= z:
            ans -= 1
    print(ans)


def next_int():
    return int(next_str())


def next_str():
    if len(fmt_scan) == 0:
        for v in input().split()[::-1]:
            fmt_scan.append(v)
    res = fmt_scan[-1]
    fmt_scan.pop()
    return res


main()
0