結果

問題 No.2819 Binary Binary-Operator
ユーザー naut3naut3
提出日時 2024-07-26 22:04:25
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 388 bytes
コンパイル時間 330 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 28,104 KB
平均クエリ数 2.50
最終ジャッジ日時 2024-07-26 22:04:33
合計ジャッジ時間 7,366 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 57 ms
27,208 KB
testcase_01 AC 53 ms
27,592 KB
testcase_02 AC 53 ms
27,208 KB
testcase_03 AC 54 ms
27,464 KB
testcase_04 AC 52 ms
27,208 KB
testcase_05 AC 53 ms
27,336 KB
testcase_06 AC 52 ms
27,464 KB
testcase_07 AC 51 ms
27,592 KB
testcase_08 AC 51 ms
27,200 KB
testcase_09 AC 57 ms
26,952 KB
testcase_10 AC 54 ms
27,592 KB
testcase_11 AC 53 ms
27,208 KB
testcase_12 AC 52 ms
27,464 KB
testcase_13 AC 52 ms
27,720 KB
testcase_14 AC 53 ms
27,720 KB
testcase_15 AC 54 ms
27,464 KB
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
testcase_23 WA -
testcase_24 WA -
testcase_25 WA -
testcase_26 WA -
testcase_27 WA -
testcase_28 WA -
testcase_29 WA -
testcase_30 WA -
testcase_31 WA -
testcase_32 WA -
testcase_33 WA -
testcase_34 WA -
testcase_35 WA -
testcase_36 WA -
testcase_37 WA -
testcase_38 WA -
testcase_39 WA -
testcase_40 WA -
testcase_41 WA -
testcase_42 WA -
testcase_43 WA -
testcase_44 WA -
testcase_45 WA -
testcase_46 WA -
testcase_47 WA -
testcase_48 AC 52 ms
27,336 KB
testcase_49 AC 50 ms
27,848 KB
testcase_50 AC 51 ms
27,592 KB
testcase_51 AC 51 ms
27,336 KB
testcase_52 AC 51 ms
27,080 KB
testcase_53 AC 52 ms
27,336 KB
testcase_54 AC 52 ms
27,336 KB
testcase_55 AC 52 ms
27,592 KB
testcase_56 AC 52 ms
27,336 KB
testcase_57 AC 52 ms
27,208 KB
testcase_58 AC 53 ms
27,336 KB
testcase_59 AC 52 ms
27,456 KB
testcase_60 AC 56 ms
27,464 KB
testcase_61 AC 55 ms
27,336 KB
testcase_62 AC 52 ms
27,336 KB
testcase_63 AC 53 ms
27,208 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

X, Y = map(int, input().split())

print(4, flush=True)
print(X, Y, X, Y, flush=True)

t = int(input())
ans = set()

for p00 in [0, 1]:
    for p01 in [0, 1]:
        for p10 in [0, 1]:
            for p11 in [0, 1]:
                P = [[p00, p01], [p10, p11]]

                if P[P[P[X][Y]][X]][Y] == t:
                    ans.add(P[X][Y])

if len(ans) == 1:
    print(*ans)


exit()
0