結果

問題 No.304 鍵(1)
ユーザー samplelpmassamplelpmas
提出日時 2016-12-22 09:05:47
言語 Java21
(openjdk 21)
結果
AC  
実行時間 416 ms / 2,000 ms
コード長 333 bytes
コンパイル時間 2,717 ms
コンパイル使用メモリ 71,060 KB
実行使用メモリ 77,420 KB
平均クエリ数 309.17
最終ジャッジ日時 2023-09-24 00:48:27
合計ジャッジ時間 5,045 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 143 ms
71,640 KB
testcase_01 AC 187 ms
71,776 KB
testcase_02 AC 416 ms
77,420 KB
testcase_03 AC 190 ms
71,660 KB
testcase_04 AC 324 ms
73,372 KB
testcase_05 AC 184 ms
71,600 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {

    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);

        for (int i = 0; i < 1000; i++) {

            System.out.printf("%03d\n", i);

            if (sc.next().equals("unlocked")) {
                break;
            }

        }

    }

}
0