結果

問題 No.2086 A+B問題
ユーザー coding master008coding master008
提出日時 2022-09-30 22:57:51
言語 Java21
(openjdk 21)
結果
AC  
実行時間 119 ms / 2,000 ms
コード長 357 bytes
コンパイル時間 2,088 ms
コンパイル使用メモリ 71,768 KB
実行使用メモリ 56,348 KB
最終ジャッジ日時 2023-08-24 16:32:28
合計ジャッジ時間 5,878 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 117 ms
55,816 KB
testcase_01 AC 117 ms
55,796 KB
testcase_02 AC 119 ms
56,144 KB
testcase_03 AC 119 ms
55,760 KB
testcase_04 AC 118 ms
55,864 KB
testcase_05 AC 119 ms
56,044 KB
testcase_06 AC 119 ms
55,796 KB
testcase_07 AC 117 ms
55,460 KB
testcase_08 AC 119 ms
55,784 KB
testcase_09 AC 118 ms
56,172 KB
testcase_10 AC 118 ms
55,608 KB
testcase_11 AC 116 ms
55,800 KB
testcase_12 AC 118 ms
56,348 KB
testcase_13 AC 118 ms
55,908 KB
testcase_14 AC 117 ms
55,724 KB
testcase_15 AC 118 ms
55,796 KB
testcase_16 AC 117 ms
55,580 KB
testcase_17 AC 117 ms
55,932 KB
testcase_18 AC 118 ms
55,928 KB
testcase_19 AC 118 ms
56,308 KB
testcase_20 AC 119 ms
55,608 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

/* 
Name: codingmaster008
Date-Time :30/09/2022 07:20:16 PM
*/

import java.util.*;
import java.io.*;
import java.math.*;

public class Main {
public static void main(String args[]) {
	
Scanner s=new Scanner(System.in);
String a=s.nextLine(),b=s.nextLine();
BigInteger x=new BigInteger(a),y=new BigInteger(b);
System.out.println((BigInteger)(x).add(y));
}}
0