結果

問題 No.1893 Cycle
ユーザー zerofzerof
提出日時 2022-05-11 22:00:02
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 140 bytes
コンパイル時間 274 ms
コンパイル使用メモリ 87,156 KB
実行使用メモリ 71,532 KB
最終ジャッジ日時 2023-09-26 13:18:34
合計ジャッジ時間 3,157 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 70 ms
71,168 KB
testcase_02 AC 73 ms
71,316 KB
testcase_03 AC 72 ms
71,044 KB
testcase_04 WA -
testcase_05 AC 72 ms
71,532 KB
testcase_06 WA -
testcase_07 AC 72 ms
71,160 KB
testcase_08 WA -
testcase_09 AC 70 ms
71,168 KB
testcase_10 AC 73 ms
71,024 KB
testcase_11 WA -
testcase_12 AC 71 ms
71,156 KB
testcase_13 WA -
testcase_14 WA -
testcase_15 AC 70 ms
71,224 KB
testcase_16 WA -
testcase_17 AC 73 ms
71,052 KB
testcase_18 AC 73 ms
71,236 KB
testcase_19 AC 72 ms
71,244 KB
testcase_20 AC 71 ms
71,324 KB
testcase_21 AC 68 ms
71,368 KB
testcase_22 AC 69 ms
71,388 KB
testcase_23 AC 69 ms
71,328 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

nums = list(map(int, input().split()))
nums.sort()
s, b = nums

if s >= 4:
  print(s - 4)
elif b >= 4*2:
  print(b - 4)
else:
  print(s + 4)
0