結果
問題 | No.9001 標準入出力の練習問題(テスト用) |
ユーザー | kuramu |
提出日時 | 2016-01-19 15:40:23 |
言語 | Java21 (openjdk 21) |
結果 |
AC
|
実行時間 | 90 ms / 1,000 ms |
コード長 | 561 bytes |
コンパイル時間 | 2,154 ms |
コンパイル使用メモリ | 75,432 KB |
実行使用メモリ | 54,464 KB |
最終ジャッジ日時 | 2023-10-21 06:51:10 |
合計ジャッジ時間 | 2,880 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge14 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 90 ms
54,348 KB |
testcase_01 | AC | 88 ms
54,464 KB |
ソースコード
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) { BufferedReader stdReader =new BufferedReader(new InputStreamReader(System.in)); String[] temp; try { temp = stdReader.readLine().split(" "); int a = Integer.parseInt(temp[0]); int b = Integer.parseInt(temp[1]); System.out.println((a+b)+" "+stdReader.readLine()); } catch (IOException e) { // TODO 自動生成された catch ブロック e.printStackTrace(); } } }