結果

問題 No.304 鍵(1)
ユーザー mits58mits58
提出日時 2016-07-02 11:44:11
言語 Java21
(openjdk 21)
結果
AC  
実行時間 362 ms / 2,000 ms
コード長 382 bytes
コンパイル時間 3,148 ms
コンパイル使用メモリ 73,344 KB
実行使用メモリ 75,408 KB
平均クエリ数 309.17
最終ジャッジ日時 2023-09-24 00:10:22
合計ジャッジ時間 4,390 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 171 ms
72,652 KB
testcase_01 AC 204 ms
72,380 KB
testcase_02 AC 362 ms
75,408 KB
testcase_03 AC 204 ms
73,456 KB
testcase_04 AC 292 ms
73,984 KB
testcase_05 AC 201 ms
73,040 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<10;i++){
			for(int j=0;j<10;j++){
				for(int k=0;k<10;k++){
					System.out.println(Integer.toString(i)+Integer.toString(j)+Integer.toString(k));
					String str=sc.next();
					if(str.equals("unlocked")) System.exit(0);
				}
			}
		}
	}
}
0