結果

問題 No.9001 標準入出力の練習問題(テスト用)
ユーザー GchansanjouGchansanjou
提出日時 2018-02-08 02:01:23
言語 Java21
(openjdk 21)
結果
AC  
実行時間 76 ms / 1,000 ms
コード長 678 bytes
コンパイル時間 3,484 ms
コンパイル使用メモリ 75,456 KB
実行使用メモリ 56,016 KB
最終ジャッジ日時 2023-10-21 13:55:22
合計ジャッジ時間 4,229 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
54,404 KB
testcase_01 AC 76 ms
56,016 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package yukiCoder;

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

public class No09001 {

	public static void main(String[] args) {

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int a = 0;
		int b = 0;
		String s = null;

		try {
			String[] input = new String[2];
			input = br.readLine().split(" ");
			a = Integer.parseInt(input[0]);
			b = Integer.parseInt(input[1]);

			s = br.readLine();
		} catch (IOException e) {
			System.out.println("IOError");
		} catch (NumberFormatException e) {
			System.out.println("could not convert to integer");
		}
		System.out.print(a + b + " " + s);
	}
}
0