結果

問題 No.353 ヘイトプラス
ユーザー h_tyokinuhatah_tyokinuhata
提出日時 2016-04-10 04:55:06
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 215 bytes
コンパイル時間 2,131 ms
コンパイル使用メモリ 78,056 KB
実行使用メモリ 56,172 KB
最終ジャッジ日時 2024-04-14 23:42:01
合計ジャッジ時間 4,824 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

import java.util.*;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int A = sc.nextInt(), B = sc.nextInt();
		
		System.out.println(Math.abs(A - B * 2));
	}
}
0