結果

問題 No.1893 Cycle
ユーザー toshiro_yanagitoshiro_yanagi
提出日時 2022-07-02 23:21:06
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 68 ms / 2,000 ms
コード長 155 bytes
コンパイル時間 1,064 ms
コンパイル使用メモリ 87,020 KB
実行使用メモリ 71,520 KB
最終ジャッジ日時 2023-08-18 16:04:56
合計ジャッジ時間 3,983 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 62 ms
71,436 KB
testcase_01 AC 61 ms
71,268 KB
testcase_02 AC 62 ms
71,216 KB
testcase_03 AC 64 ms
71,356 KB
testcase_04 AC 66 ms
71,268 KB
testcase_05 AC 64 ms
71,228 KB
testcase_06 AC 63 ms
71,344 KB
testcase_07 AC 68 ms
71,520 KB
testcase_08 AC 68 ms
71,392 KB
testcase_09 AC 65 ms
71,264 KB
testcase_10 AC 61 ms
71,264 KB
testcase_11 AC 61 ms
71,264 KB
testcase_12 AC 62 ms
71,180 KB
testcase_13 AC 62 ms
71,324 KB
testcase_14 AC 64 ms
71,264 KB
testcase_15 AC 63 ms
71,428 KB
testcase_16 AC 63 ms
71,476 KB
testcase_17 AC 66 ms
71,040 KB
testcase_18 AC 62 ms
71,404 KB
testcase_19 AC 61 ms
71,356 KB
testcase_20 AC 61 ms
71,236 KB
testcase_21 AC 64 ms
71,436 KB
testcase_22 AC 62 ms
71,276 KB
testcase_23 AC 61 ms
71,264 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

def main():
    x, y = map(int, input().split())
    s = {x, y}
    for v in (x, y):
        s.add((v + 4) % 12)
    s = s - {x, y}
    print(*s)


main()
0