結果

問題 No.304 鍵(1)
ユーザー kohaku_kohakukohaku_kohaku
提出日時 2016-11-12 19:42:50
言語 Java21
(openjdk 21)
結果
AC  
実行時間 365 ms / 2,000 ms
コード長 310 bytes
コンパイル時間 4,648 ms
コンパイル使用メモリ 73,100 KB
実行使用メモリ 76,928 KB
平均クエリ数 309.17
最終ジャッジ日時 2023-09-24 00:42:09
合計ジャッジ時間 4,982 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 140 ms
71,340 KB
testcase_01 AC 176 ms
71,636 KB
testcase_02 AC 365 ms
76,928 KB
testcase_03 AC 174 ms
72,096 KB
testcase_04 AC 300 ms
73,568 KB
testcase_05 AC 173 ms
72,064 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        
        int i=0;
        while(true){
			System.out.println(String.format("%03d",i));
			if( "unlocked".equals(sc.next()) ){
			    break;
			}
			i++;
        }
    }
}
0