結果

問題 No.581 XOR
ユーザー matsuyoshi30matsuyoshi30
提出日時 2018-05-06 16:13:19
言語 Java21
(openjdk 21)
結果
RE  
実行時間 -
コード長 245 bytes
コンパイル時間 1,982 ms
コンパイル使用メモリ 71,528 KB
実行使用メモリ 58,116 KB
最終ジャッジ日時 2023-09-10 10:46:02
合計ジャッジ時間 4,000 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 126 ms
55,908 KB
testcase_01 AC 126 ms
55,632 KB
testcase_02 AC 123 ms
55,920 KB
testcase_03 AC 124 ms
55,956 KB
testcase_04 AC 125 ms
56,236 KB
testcase_05 RE -
testcase_06 RE -
testcase_07 RE -
testcase_08 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

class Main {
    public static void main(String[] ars) {
        Scanner in = new Scanner(System.in);
        int a = in.nextInt();
        int c = in.nextInt();

        int b = c ^ a;
        System.out.println(b);
    }
}
0