結果
問題 |
No.9001 標準入出力の練習問題(テスト用)
|
ユーザー |
![]() |
提出日時 | 2018-02-08 02:01:23 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 85 ms / 1,000 ms |
コード長 | 678 bytes |
コンパイル時間 | 3,423 ms |
コンパイル使用メモリ | 82,288 KB |
実行使用メモリ | 38,368 KB |
最終ジャッジ日時 | 2024-09-21 15:09:07 |
合計ジャッジ時間 | 4,059 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 2 |
ソースコード
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); } }