結果

問題 No.581 XOR
ユーザー GrenacheGrenache
提出日時 2017-10-27 22:21:58
言語 Java21
(openjdk 21)
結果
AC  
実行時間 127 ms / 2,000 ms
コード長 551 bytes
コンパイル時間 3,076 ms
コンパイル使用メモリ 71,620 KB
実行使用メモリ 58,092 KB
最終ジャッジ日時 2023-08-14 03:31:19
合計ジャッジ時間 4,990 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 123 ms
55,924 KB
testcase_01 AC 124 ms
55,352 KB
testcase_02 AC 122 ms
55,348 KB
testcase_03 AC 122 ms
55,556 KB
testcase_04 AC 127 ms
55,376 KB
testcase_05 AC 124 ms
56,196 KB
testcase_06 AC 123 ms
58,092 KB
testcase_07 AC 124 ms
55,712 KB
testcase_08 AC 123 ms
55,880 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.*;
import java.util.*;


public class Main_yukicoder581 {

	private static Scanner sc;
	private static Printer pr;

	private static void solve() {
		long a = sc.nextLong();
		long b = sc.nextLong();

		pr.println(a ^ b);
	}

	// ---------------------------------------------------
	public static void main(String[] args) {
		sc = new Scanner(System.in);
		pr = new Printer(System.out);

		solve();

		pr.close();
		sc.close();
	}

	private static class Printer extends PrintWriter {
		Printer(PrintStream out) {
			super(out);
		}
	}
}
0