結果

問題 No.1893 Cycle
ユーザー zerofzerof
提出日時 2022-05-11 21:51:05
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 144 bytes
コンパイル時間 273 ms
コンパイル使用メモリ 87,196 KB
実行使用メモリ 71,704 KB
最終ジャッジ日時 2023-09-26 13:07:06
合計ジャッジ時間 3,072 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 70 ms
71,308 KB
testcase_02 AC 73 ms
71,400 KB
testcase_03 AC 70 ms
71,424 KB
testcase_04 WA -
testcase_05 AC 68 ms
71,028 KB
testcase_06 WA -
testcase_07 AC 69 ms
71,324 KB
testcase_08 WA -
testcase_09 AC 69 ms
71,156 KB
testcase_10 AC 70 ms
70,904 KB
testcase_11 WA -
testcase_12 AC 73 ms
71,200 KB
testcase_13 WA -
testcase_14 WA -
testcase_15 AC 70 ms
71,292 KB
testcase_16 WA -
testcase_17 AC 73 ms
71,408 KB
testcase_18 AC 72 ms
71,032 KB
testcase_19 AC 68 ms
71,140 KB
testcase_20 AC 69 ms
71,032 KB
testcase_21 AC 69 ms
71,312 KB
testcase_22 AC 70 ms
71,324 KB
testcase_23 AC 71 ms
71,296 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n1, n2 = map(int, input().split())
s = min(n1, n2)
b = max(n1, n2)
if s >= 4:
  print(s - 4)
elif b >= 4*2:
  print(b - 4)
else:
  print(s + 4)
0