結果

問題 No.581 XOR
ユーザー matsuyoshi30matsuyoshi30
提出日時 2018-05-06 16:50:18
言語 Java21
(openjdk 21)
結果
AC  
実行時間 125 ms / 2,000 ms
コード長 250 bytes
コンパイル時間 1,955 ms
コンパイル使用メモリ 71,208 KB
実行使用メモリ 56,252 KB
最終ジャッジ日時 2023-09-10 10:46:13
合計ジャッジ時間 3,809 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 123 ms
55,484 KB
testcase_01 AC 123 ms
55,688 KB
testcase_02 AC 125 ms
55,840 KB
testcase_03 AC 122 ms
55,476 KB
testcase_04 AC 120 ms
55,752 KB
testcase_05 AC 120 ms
55,688 KB
testcase_06 AC 120 ms
55,740 KB
testcase_07 AC 122 ms
56,252 KB
testcase_08 AC 120 ms
55,892 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

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

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