結果

問題 No.9001 標準入出力の練習問題(テスト用)
ユーザー wahr69wahr69
提出日時 2015-08-05 13:15:49
言語 Java21
(openjdk 21)
結果
AC  
実行時間 88 ms / 1,000 ms
コード長 624 bytes
コンパイル時間 3,333 ms
コンパイル使用メモリ 77,716 KB
実行使用メモリ 52,580 KB
最終ジャッジ日時 2023-09-25 01:15:13
合計ジャッジ時間 4,196 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

import java.io.*;

public class no225 {
	
	/**
	 * @param args
	 */
	public static void main(String[] args) {
		BufferedReader r = new BufferedReader(new InputStreamReader(System.in));
		String[] input = new String[2];
		try {
			input = r.readLine().split(" ");
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		int A = Integer.parseInt(input[0]);
		int B = Integer.parseInt(input[1]);
		String S = "";
		try {
			S = r.readLine();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		
		System.out.println((A + B) + " " + S);
	}
	
}
0