結果

問題 No.1893 Cycle
ユーザー zerofzerof
提出日時 2022-05-11 22:01:55
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 79 ms / 2,000 ms
コード長 139 bytes
コンパイル時間 417 ms
コンパイル使用メモリ 86,892 KB
実行使用メモリ 71,292 KB
最終ジャッジ日時 2023-09-26 13:20:49
合計ジャッジ時間 3,774 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 76 ms
71,240 KB
testcase_01 AC 76 ms
71,184 KB
testcase_02 AC 77 ms
71,100 KB
testcase_03 AC 78 ms
71,208 KB
testcase_04 AC 78 ms
71,244 KB
testcase_05 AC 77 ms
71,276 KB
testcase_06 AC 79 ms
71,040 KB
testcase_07 AC 78 ms
71,192 KB
testcase_08 AC 77 ms
71,136 KB
testcase_09 AC 77 ms
71,240 KB
testcase_10 AC 78 ms
71,224 KB
testcase_11 AC 78 ms
71,292 KB
testcase_12 AC 77 ms
71,136 KB
testcase_13 AC 78 ms
71,272 KB
testcase_14 AC 78 ms
71,028 KB
testcase_15 AC 76 ms
71,028 KB
testcase_16 AC 77 ms
71,108 KB
testcase_17 AC 77 ms
70,896 KB
testcase_18 AC 74 ms
71,136 KB
testcase_19 AC 76 ms
71,204 KB
testcase_20 AC 76 ms
71,144 KB
testcase_21 AC 77 ms
71,236 KB
testcase_22 AC 76 ms
71,220 KB
testcase_23 AC 76 ms
71,168 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(b - 4)
0