結果

問題 No.9000 Hello World! (テスト用)
ユーザー mm
提出日時 2023-11-03 06:27:39
言語 Java21
(openjdk 21)
結果
AC  
実行時間 136 ms / 5,000 ms
コード長 545 bytes
コンパイル時間 3,692 ms
コンパイル使用メモリ 77,912 KB
実行使用メモリ 57,672 KB
最終ジャッジ日時 2023-11-03 06:27:45
合計ジャッジ時間 5,064 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 125 ms
57,472 KB
testcase_01 AC 124 ms
57,428 KB
testcase_02 AC 123 ms
57,672 KB
testcase_03 AC 136 ms
57,416 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

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

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

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

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

        // 標準出力に書き出す。
        System.out.println("Hello World!");
    }
}
0