結果

問題 No.9001 標準入出力の練習問題(テスト用)
ユーザー Enter_0620
提出日時 2016-03-31 18:47:40
言語 Java
(openjdk 23)
結果
WA  
実行時間 -
コード長 568 bytes
コンパイル時間 2,018 ms
コンパイル使用メモリ 80,032 KB
実行使用メモリ 51,072 KB
最終ジャッジ日時 2024-10-02 08:30:41
合計ジャッジ時間 2,587 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 1 WA * 1
権限があれば一括ダウンロードができます

ソースコード

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