Submission #82313
ソースコード
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | import java.math.BigInteger; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); // 入力をBigIntegerに変換 BigInteger num1 = new BigInteger(scanner.nextLine()); BigInteger num2 = new BigInteger(scanner.nextLine()); // 加算結果を出力 BigInteger sum = num1.add(num2); System.out.println(sum); scanner.close(); } } |
ステータス
項目 | データ |
---|---|
問題 | 1944 - 足し算をしよう |
ユーザー名 | ei2332 |
投稿日時 | 2025-01-09 18:37:33 |
言語 | Java |
状態 | Accepted |
得点 | 10000 |
ソースコード長 | 496 Byte |
最大実行時間 | 900 ms |
最大メモリ使用量 | 19928 KB |
セット
セット | 得点 | Cases | |
---|---|---|---|
1 | ALL | 10000 / 10000 | * |
テストケース
ファイル名 | 状態 | 実行時間 | メモリ使用量 | # |
---|---|---|---|---|
in01.txt | AC | 895 ms | 19928 KB |
1
|
in02.txt | AC | 121 ms | 15424 KB |
1
|
in03.txt | AC | 138 ms | 15596 KB |
1
|
in04.txt | AC | 115 ms | 15308 KB |
1
|
in05.txt | AC | 124 ms | 15492 KB |
1
|
in06.txt | AC | 900 ms | 19860 KB |
1
|
in07.txt | AC | 147 ms | 17816 KB |
1
|
in08.txt | AC | 141 ms | 15952 KB |
1
|
in09.txt | AC | 121 ms | 15496 KB |
1
|