結果

問題 No.2086 A+B問題
ユーザー viral8viral8
提出日時 2022-10-01 09:23:27
言語 Java21
(openjdk 21)
結果
AC  
実行時間 122 ms / 2,000 ms
コード長 301 bytes
コンパイル時間 1,956 ms
コンパイル使用メモリ 71,912 KB
実行使用メモリ 56,464 KB
最終ジャッジ日時 2023-08-25 02:04:04
合計ジャッジ時間 5,607 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 116 ms
55,624 KB
testcase_01 AC 117 ms
56,232 KB
testcase_02 AC 119 ms
55,976 KB
testcase_03 AC 120 ms
56,052 KB
testcase_04 AC 119 ms
55,760 KB
testcase_05 AC 120 ms
55,648 KB
testcase_06 AC 117 ms
56,464 KB
testcase_07 AC 117 ms
55,416 KB
testcase_08 AC 120 ms
56,092 KB
testcase_09 AC 118 ms
56,292 KB
testcase_10 AC 119 ms
55,712 KB
testcase_11 AC 117 ms
55,936 KB
testcase_12 AC 117 ms
55,752 KB
testcase_13 AC 116 ms
56,184 KB
testcase_14 AC 116 ms
55,552 KB
testcase_15 AC 119 ms
55,456 KB
testcase_16 AC 118 ms
55,872 KB
testcase_17 AC 119 ms
55,600 KB
testcase_18 AC 120 ms
56,116 KB
testcase_19 AC 122 ms
55,980 KB
testcase_20 AC 120 ms
55,940 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
import java.math.BigInteger;
class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        BigInteger A = new BigInteger(sc.next());
        BigInteger B = new BigInteger(sc.next());
        System.out.println(A.add(B));
    }
}
0