結果

問題 No.304 鍵(1)
ユーザー AoiroFukurouAoiroFukurou
提出日時 2015-11-30 13:57:39
言語 Java21
(openjdk 21)
結果
AC  
実行時間 360 ms / 2,000 ms
コード長 474 bytes
コンパイル時間 4,834 ms
コンパイル使用メモリ 73,296 KB
実行使用メモリ 58,992 KB
平均クエリ数 309.17
最終ジャッジ日時 2023-09-23 22:12:32
合計ジャッジ時間 7,205 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 178 ms
56,804 KB
testcase_01 AC 210 ms
57,052 KB
testcase_02 AC 360 ms
58,992 KB
testcase_03 AC 206 ms
57,156 KB
testcase_04 AC 295 ms
57,664 KB
testcase_05 AC 201 ms
57,224 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class No_304 {
public static void main(String[] args) {
	String[] Num = {"0", "1", "2", "3", "4", "5", "6", "7", "8", "9"};
	Scanner sc = new Scanner(System.in);
	String s;
	flag: for(int i = 0; i < Num.length; i++){
				for(int j = 0; j < Num.length; j++){
					for(int k = 0; k < Num.length; k++){
						System.out.println(Num[i] + Num[j] + Num[k]);
						if((s = sc.nextLine()).equals("unlocked")){
					break flag;
				}
			}
		}
	}
}
}
0