結果

問題 No.581 XOR
ユーザー aikon_marimoaikon_marimo
提出日時 2018-02-03 21:21:54
言語 Java21
(openjdk 21)
結果
AC  
実行時間 127 ms / 2,000 ms
コード長 228 bytes
コンパイル時間 2,222 ms
コンパイル使用メモリ 70,636 KB
実行使用メモリ 56,032 KB
最終ジャッジ日時 2023-09-02 14:51:22
合計ジャッジ時間 4,317 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 126 ms
55,380 KB
testcase_01 AC 123 ms
56,032 KB
testcase_02 AC 124 ms
55,764 KB
testcase_03 AC 122 ms
55,560 KB
testcase_04 AC 123 ms
55,588 KB
testcase_05 AC 123 ms
55,496 KB
testcase_06 AC 123 ms
55,688 KB
testcase_07 AC 127 ms
55,772 KB
testcase_08 AC 121 ms
55,808 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

class Main {
	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		
		long A = in.nextLong();
		long C = in.nextLong();
		
		long B = C^A;
		
		System.out.println(B);
	}
}
0