結果

問題 No.581 XOR
ユーザー kohaku_kohakukohaku_kohaku
提出日時 2018-04-14 16:11:17
言語 Java21
(openjdk 21)
結果
AC  
実行時間 126 ms / 2,000 ms
コード長 303 bytes
コンパイル時間 3,266 ms
コンパイル使用メモリ 70,716 KB
実行使用メモリ 55,940 KB
最終ジャッジ日時 2023-09-09 05:12:30
合計ジャッジ時間 4,259 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 124 ms
55,792 KB
testcase_01 AC 124 ms
55,940 KB
testcase_02 AC 123 ms
55,784 KB
testcase_03 AC 123 ms
55,908 KB
testcase_04 AC 124 ms
55,640 KB
testcase_05 AC 126 ms
53,588 KB
testcase_06 AC 125 ms
55,652 KB
testcase_07 AC 124 ms
55,628 KB
testcase_08 AC 121 ms
55,400 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        StringBuilder sb = new StringBuilder();
        long a = sc.nextLong();
        long c = sc.nextLong();
        long b = c^a;
        System.out.println(b);
    }
}
0