結果

問題 No.581 XOR
ユーザー ohagi_1182ohagi_1182
提出日時 2017-10-27 22:34:21
言語 Java21
(openjdk 21)
結果
RE  
実行時間 -
コード長 219 bytes
コンパイル時間 2,170 ms
コンパイル使用メモリ 74,168 KB
実行使用メモリ 41,760 KB
最終ジャッジ日時 2024-05-01 16:29:40
合計ジャッジ時間 3,717 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		long a = sc.nextLong();
		long c = sc.nextLong();
		System.out.println(c^(1/a));
 	}
}

0