結果

問題 No.353 ヘイトプラス
ユーザー villachvillach
提出日時 2017-10-05 16:39:34
言語 Java21
(openjdk 21)
結果
AC  
実行時間 114 ms / 1,000 ms
コード長 236 bytes
コンパイル時間 2,980 ms
コンパイル使用メモリ 71,512 KB
実行使用メモリ 56,268 KB
最終ジャッジ日時 2023-09-16 23:56:24
合計ジャッジ時間 4,699 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 111 ms
55,688 KB
testcase_01 AC 113 ms
55,916 KB
testcase_02 AC 114 ms
56,268 KB
testcase_03 AC 112 ms
56,108 KB
testcase_04 AC 112 ms
54,396 KB
testcase_05 AC 112 ms
56,000 KB
testcase_06 AC 113 ms
56,068 KB
testcase_07 AC 108 ms
55,552 KB
testcase_08 AC 107 ms
56,092 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package yukicoder;

import java.util.Scanner;

public class N353 {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		System.out.println(a - (-1 * b));
	}
}
0