結果

問題 No.9001 標準入出力の練習問題(テスト用)
ユーザー Enter_0620Enter_0620
提出日時 2016-03-31 18:43:17
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 563 bytes
コンパイル時間 1,843 ms
コンパイル使用メモリ 74,992 KB
実行使用メモリ 52,496 KB
最終ジャッジ日時 2024-04-10 06:50:23
合計ジャッジ時間 2,429 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

import java.io.*;

class yuki9001
{
	public static void main ( String[] args ) throws IOException {
		BufferedReader br = new BufferedReader ( new InputStreamReader ( System.in ) );
		
		// 文字の入力
		String strNum = br.readLine ();
		String str = br.readLine ();
		
		// 文字の抜き出し処理
		char strNum1 = strNum.charAt ( 0 );
		char strNum2 = strNum.charAt ( 2 );

		int num1 = Character.getNumericValue ( strNum1 );
		int num2 = Character.getNumericValue ( strNum2 );

		System.out.print ( num1 + num2 );
		System.out.print ( " " + str );
	}
}
0