結果

問題 No.1893 Cycle
ユーザー taiga0629kyoprotaiga0629kyopro
提出日時 2022-04-08 22:04:45
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 63 ms / 2,000 ms
コード長 114 bytes
コンパイル時間 272 ms
コンパイル使用メモリ 87,172 KB
実行使用メモリ 71,648 KB
最終ジャッジ日時 2023-08-19 00:39:03
合計ジャッジ時間 2,734 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 58 ms
71,096 KB
testcase_01 AC 57 ms
71,100 KB
testcase_02 AC 58 ms
71,220 KB
testcase_03 AC 58 ms
71,212 KB
testcase_04 AC 58 ms
71,112 KB
testcase_05 AC 59 ms
71,580 KB
testcase_06 AC 62 ms
71,584 KB
testcase_07 AC 58 ms
71,648 KB
testcase_08 AC 58 ms
71,396 KB
testcase_09 AC 58 ms
71,220 KB
testcase_10 AC 60 ms
71,100 KB
testcase_11 AC 57 ms
71,100 KB
testcase_12 AC 63 ms
71,096 KB
testcase_13 AC 59 ms
71,360 KB
testcase_14 AC 58 ms
71,256 KB
testcase_15 AC 59 ms
71,104 KB
testcase_16 AC 59 ms
71,300 KB
testcase_17 AC 60 ms
71,216 KB
testcase_18 AC 58 ms
71,304 KB
testcase_19 AC 58 ms
71,112 KB
testcase_20 AC 58 ms
71,640 KB
testcase_21 AC 57 ms
71,272 KB
testcase_22 AC 57 ms
71,300 KB
testcase_23 AC 57 ms
71,484 KB
権限があれば一括ダウンロードができます

ソースコード

diff #



x,y=map(int,input().split())

ans1=(x+4)%12
ans2=(x-4)%12
ans=-1
if ans1==y:ans=ans2
else:ans=ans1
print(ans)

0