結果

問題 No.9001 標準入出力の練習問題(テスト用)
ユーザー 123poripori123poripori
提出日時 2021-05-26 17:41:50
言語 Java21
(openjdk 21)
結果
RE  
実行時間 -
コード長 545 bytes
コンパイル時間 2,311 ms
コンパイル使用メモリ 76,620 KB
実行使用メモリ 54,392 KB
最終ジャッジ日時 2024-04-23 13:45:01
合計ジャッジ時間 3,148 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        // 標準入力から読み込む際に、Scannerオブジェクトを使う。
        Scanner sc = new Scanner(System.in);

        // int 1つ分を読み込む
        int a = sc.nextInt(3);

        // int 1つ分を読み込む
        int b = sc.nextInt(5);

        // String 1つ分を読み込む
        String s = sc.next("abc");

        // 標準出力に書き出す。
        System.out.println((a + b) + " " + s);
    }
}
0