結果

問題 No.304 鍵(1)
ユーザー fal_rndfal_rnd
提出日時 2018-02-12 22:32:08
言語 Java21
(openjdk 21)
結果
AC  
実行時間 423 ms / 2,000 ms
コード長 313 bytes
コンパイル時間 2,543 ms
コンパイル使用メモリ 71,640 KB
実行使用メモリ 76,568 KB
平均クエリ数 309.17
最終ジャッジ日時 2023-09-24 01:38:39
合計ジャッジ時間 4,297 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 149 ms
71,980 KB
testcase_01 AC 194 ms
72,176 KB
testcase_02 AC 423 ms
76,568 KB
testcase_03 AC 185 ms
71,932 KB
testcase_04 AC 323 ms
74,152 KB
testcase_05 AC 185 ms
71,644 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

class Main{
	static Scanner s=new Scanner(System.in);
	static int gInt(){return Integer.parseInt(s.next());}

	public static void main(String[]$){
		for(int i=0;i<1000;++i) {
			System.out.printf("%03d",i);
			System.out.println();
			if(!s.next().equals("locked"))
				return;
		}
	}
}
0