結果

問題 No.353 ヘイトプラス
ユーザー kohaku_kohakukohaku_kohaku
提出日時 2016-11-12 18:04:29
言語 Java21
(openjdk 21)
結果
AC  
実行時間 113 ms / 1,000 ms
コード長 255 bytes
コンパイル時間 1,713 ms
コンパイル使用メモリ 71,344 KB
実行使用メモリ 56,164 KB
最終ジャッジ日時 2023-09-16 23:49:15
合計ジャッジ時間 3,534 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 108 ms
56,032 KB
testcase_01 AC 112 ms
56,164 KB
testcase_02 AC 113 ms
56,028 KB
testcase_03 AC 110 ms
56,108 KB
testcase_04 AC 111 ms
54,700 KB
testcase_05 AC 112 ms
55,944 KB
testcase_06 AC 113 ms
55,828 KB
testcase_07 AC 112 ms
56,016 KB
testcase_08 AC 110 ms
55,876 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

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