結果

問題 No.353 ヘイトプラス
ユーザー Tsukasa_Type
提出日時 2018-02-12 00:09:44
言語 Java
(openjdk 23)
結果
AC  
実行時間 120 ms / 1,000 ms
コード長 323 bytes
コンパイル時間 1,852 ms
コンパイル使用メモリ 75,360 KB
実行使用メモリ 41,704 KB
最終ジャッジ日時 2024-07-03 22:33:52
合計ジャッジ時間 3,601 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

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

public class Main {
	static Scanner sc = new Scanner(System.in);
	public static void main(String[] args) {
		BigDecimal b1 = BigDecimal.valueOf(sc.nextInt());
		BigDecimal b2 = BigDecimal.valueOf(sc.nextInt());
		BigDecimal b3 = b1.add(b2);
		System.out.println(b3.intValue());
	}
}
0