結果

問題 No.1893 Cycle
ユーザー DrDrpilot
提出日時 2022-04-13 11:02:36
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 131 bytes
コンパイル時間 147 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-12-23 06:50:04
合計ジャッジ時間 2,198 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 13 WA * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

x,y=map(int,input().split())
diff=max(x,y)-min(x,y)
if 0<=max(x,y)+diff<12:
    print(max(x,y)+diff)
else:
    print(min(x,y)-diff)
0