結果

問題 No.1893 Cycle
ユーザー ice_ut
提出日時 2022-07-05 12:56:58
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 385 bytes
コンパイル時間 939 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-12-15 17:36:58
合計ジャッジ時間 2,115 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other WA * 21
権限があれば一括ダウンロードができます

ソースコード

diff #

p0=[0,4,8]
p1=[1,5,9]
p2=[2,6,10]
p3=[3,7,11]
x,y=map(int,input().split())
if x%4==0:
    for a in p0:
        if not a==x or a==y:
            print(a)
elif x%4==1:
    for a in p1:
        if not a==x or a==y:
            print(a)
elif x%4==2:
    for a in p2:
        if not a==x or a==y:
            print(a)
else:
    for a in p3:
        if not a==x or a==y:
            print(a)
0