結果

問題 No.581 XOR
ユーザー マサマサ
提出日時 2022-02-08 22:10:36
言語 Java21
(openjdk 21)
結果
AC  
実行時間 122 ms / 2,000 ms
コード長 230 bytes
コンパイル時間 1,955 ms
コンパイル使用メモリ 71,376 KB
実行使用メモリ 56,184 KB
最終ジャッジ日時 2023-09-05 22:39:29
合計ジャッジ時間 3,919 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 122 ms
55,728 KB
testcase_01 AC 121 ms
55,828 KB
testcase_02 AC 122 ms
55,536 KB
testcase_03 AC 121 ms
54,152 KB
testcase_04 AC 119 ms
56,036 KB
testcase_05 AC 119 ms
55,932 KB
testcase_06 AC 122 ms
56,116 KB
testcase_07 AC 117 ms
56,184 KB
testcase_08 AC 117 ms
56,000 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

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