結果

問題 No.581 XOR
ユーザー samplelpmassamplelpmas
提出日時 2017-10-27 23:11:23
言語 Java21
(openjdk 21)
結果
RE  
実行時間 -
コード長 245 bytes
コンパイル時間 2,457 ms
コンパイル使用メモリ 77,200 KB
実行使用メモリ 41,520 KB
最終ジャッジ日時 2024-05-01 17:37:04
合計ジャッジ時間 4,244 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 112 ms
41,352 KB
testcase_01 AC 126 ms
41,032 KB
testcase_02 AC 112 ms
41,216 KB
testcase_03 AC 114 ms
41,424 KB
testcase_04 AC 117 ms
41,520 KB
testcase_05 RE -
testcase_06 RE -
testcase_07 RE -
testcase_08 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {

    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);

        int A = sc.nextInt();
        int C = sc.nextInt();

        System.out.println(A ^ C);

    }

}
0