結果

問題 No.353 ヘイトプラス
ユーザー samplelpmassamplelpmas
提出日時 2016-12-28 10:18:02
言語 Java21
(openjdk 21)
結果
AC  
実行時間 119 ms / 1,000 ms
コード長 266 bytes
コンパイル時間 1,837 ms
コンパイル使用メモリ 70,720 KB
実行使用メモリ 56,384 KB
最終ジャッジ日時 2023-09-16 23:50:52
合計ジャッジ時間 3,745 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 118 ms
56,384 KB
testcase_01 AC 116 ms
56,248 KB
testcase_02 AC 118 ms
55,756 KB
testcase_03 AC 117 ms
55,908 KB
testcase_04 AC 115 ms
55,608 KB
testcase_05 AC 115 ms
55,888 KB
testcase_06 AC 118 ms
55,900 KB
testcase_07 AC 119 ms
55,880 KB
testcase_08 AC 116 ms
55,940 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package sample;

import java.util.Scanner;

public class Main {

    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);

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

        System.out.println(A - (-B));

    }

}
0