結果

問題 No.581 XOR
ユーザー jimanojimano
提出日時 2018-01-23 23:18:50
言語 Java21
(openjdk 21)
結果
AC  
実行時間 46 ms / 2,000 ms
コード長 475 bytes
コンパイル時間 3,153 ms
コンパイル使用メモリ 71,440 KB
実行使用メモリ 49,612 KB
最終ジャッジ日時 2023-08-26 23:57:06
合計ジャッジ時間 4,372 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 45 ms
49,276 KB
testcase_01 AC 46 ms
49,204 KB
testcase_02 AC 45 ms
49,332 KB
testcase_03 AC 45 ms
49,328 KB
testcase_04 AC 44 ms
49,496 KB
testcase_05 AC 45 ms
49,276 KB
testcase_06 AC 45 ms
49,612 KB
testcase_07 AC 45 ms
49,152 KB
testcase_08 AC 44 ms
49,408 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package me.yukicoder;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;


public class No0581 {
	public static void main(String[] args) {
		try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
			String[] str = br.readLine().split(" ");
			long a = Long.parseLong(str[0]);
			long c = Long.parseLong(str[1]);

			System.out.println(a ^ c);
		} catch (IOException e) {
			e.printStackTrace();
		}
		
	}
}
0