結果

問題 No.581 XOR
ユーザー rabirabi
提出日時 2019-06-24 12:25:49
言語 Java21
(openjdk 21)
結果
AC  
実行時間 38 ms / 2,000 ms
コード長 441 bytes
コンパイル時間 2,880 ms
コンパイル使用メモリ 72,700 KB
実行使用メモリ 49,608 KB
最終ジャッジ日時 2023-08-31 01:22:53
合計ジャッジ時間 3,693 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 38 ms
49,340 KB
testcase_01 AC 36 ms
49,436 KB
testcase_02 AC 37 ms
49,440 KB
testcase_03 AC 37 ms
49,428 KB
testcase_04 AC 37 ms
49,500 KB
testcase_05 AC 36 ms
49,608 KB
testcase_06 AC 36 ms
49,424 KB
testcase_07 AC 36 ms
49,376 KB
testcase_08 AC 37 ms
49,324 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Tester2 {
	public static void main(String[] args){
		try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))){
			String[] ary = br.readLine().split(" ");
			long a = Long.parseLong(ary[0]);
			long b = Long.parseLong(ary[1]);
			System.out.println(a^b);
		}catch(IOException e) {
			e.printStackTrace();
		}
	}
}
0