結果

問題 No.353 ヘイトプラス
ユーザー matsuyoshi30matsuyoshi30
提出日時 2016-04-01 23:17:54
言語 Java21
(openjdk 21)
結果
AC  
実行時間 118 ms / 1,000 ms
コード長 244 bytes
コンパイル時間 2,030 ms
コンパイル使用メモリ 71,996 KB
実行使用メモリ 56,580 KB
最終ジャッジ日時 2023-09-12 00:02:47
合計ジャッジ時間 4,006 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 118 ms
56,520 KB
testcase_01 AC 118 ms
55,588 KB
testcase_02 AC 116 ms
56,080 KB
testcase_03 AC 116 ms
56,248 KB
testcase_04 AC 116 ms
56,052 KB
testcase_05 AC 115 ms
56,288 KB
testcase_06 AC 115 ms
56,580 KB
testcase_07 AC 118 ms
55,948 KB
testcase_08 AC 118 ms
56,408 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

class Main {
	public static void main(String[] args) throws Exception {
		Scanner in = new Scanner(System.in);
		int a = in.nextInt();
		int b = in.nextInt();

		int ans = a - (-1) * b;
		System.out.println(ans);
	}
}
0