結果

問題 No.9001 標準入出力の練習問題(テスト用)
ユーザー fantom_1xfantom_1x
提出日時 2016-04-04 16:34:42
言語 Java21
(openjdk 21)
結果
AC  
実行時間 87 ms / 1,000 ms
コード長 516 bytes
コンパイル時間 2,297 ms
コンパイル使用メモリ 80,964 KB
実行使用メモリ 51,268 KB
最終ジャッジ日時 2024-04-14 06:56:25
合計ジャッジ時間 2,943 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 86 ms
51,208 KB
testcase_01 AC 87 ms
51,268 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {

	public static void main(String[] args) throws Exception {
		new Main();
	}

	public Main() throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line = br.readLine().trim();
		String[] arr = line.split(" ");
		int a = Integer.parseInt(arr[0]);
		int b = Integer.parseInt(arr[1]);

		String s = br.readLine().trim();

		System.out.println((a + b) + " " + s);

		br.close();
	}
}
0