結果
問題 |
No.857 素振り
|
ユーザー |
![]() |
提出日時 | 2022-07-03 19:23:18 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 39 ms / 1,000 ms |
コード長 | 388 bytes |
コンパイル時間 | 285 ms |
コンパイル使用メモリ | 82,372 KB |
実行使用メモリ | 53,556 KB |
最終ジャッジ日時 | 2024-11-29 15:27:21 |
合計ジャッジ時間 | 1,263 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 8 |
ソースコード
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()