結果

問題 No.1893 Cycle
ユーザー ShirotsumeShirotsume
提出日時 2021-12-09 13:52:13
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 77 ms / 2,000 ms
コード長 108 bytes
コンパイル時間 346 ms
コンパイル使用メモリ 87,296 KB
実行使用メモリ 71,632 KB
最終ジャッジ日時 2023-09-24 07:06:13
合計ジャッジ時間 4,135 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
71,144 KB
testcase_01 AC 75 ms
71,416 KB
testcase_02 AC 77 ms
71,360 KB
testcase_03 AC 75 ms
71,252 KB
testcase_04 AC 75 ms
71,632 KB
testcase_05 AC 75 ms
71,344 KB
testcase_06 AC 76 ms
71,628 KB
testcase_07 AC 75 ms
71,220 KB
testcase_08 AC 75 ms
71,092 KB
testcase_09 AC 76 ms
71,476 KB
testcase_10 AC 75 ms
71,420 KB
testcase_11 AC 77 ms
71,532 KB
testcase_12 AC 74 ms
71,432 KB
testcase_13 AC 74 ms
71,312 KB
testcase_14 AC 74 ms
71,572 KB
testcase_15 AC 74 ms
71,516 KB
testcase_16 AC 74 ms
71,504 KB
testcase_17 AC 74 ms
71,268 KB
testcase_18 AC 75 ms
71,588 KB
testcase_19 AC 76 ms
71,632 KB
testcase_20 AC 73 ms
71,484 KB
testcase_21 AC 75 ms
71,148 KB
testcase_22 AC 73 ms
71,292 KB
testcase_23 AC 75 ms
71,296 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

if (x + 4) % 12 != y:
    print((x + 4) % 12)
else:
    print((x - 4) % 12)
0