結果

問題 No.246 質問と回答
ユーザー fkwnw3_1243
提出日時 2017-05-03 08:18:42
言語 Java
(openjdk 23)
結果
RE  
実行時間 -
コード長 487 bytes
コンパイル時間 2,225 ms
コンパイル使用メモリ 74,504 KB
実行使用メモリ 70,688 KB
平均クエリ数 1.00
最終ジャッジ日時 2024-07-16 12:52:33
合計ジャッジ時間 9,136 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other RE * 30
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

import static java.lang.System.in;

public class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader reader = new BufferedReader(new InputStreamReader(in));
        for (int i = 0; i < 1000; i++) {
            System.out.format("%03d%n",i);
            if (reader.readLine().equals("unlocked")) {
                break;
            }
        }
    }
}
0