結果

問題 No.304 鍵(1)
ユーザー 37zigen37zigen
提出日時 2016-03-11 02:53:55
言語 Java21
(openjdk 21)
結果
AC  
実行時間 310 ms / 2,000 ms
コード長 412 bytes
コンパイル時間 2,790 ms
コンパイル使用メモリ 74,344 KB
実行使用メモリ 74,792 KB
平均クエリ数 309.17
最終ジャッジ日時 2023-09-23 23:18:49
合計ジャッジ時間 4,226 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 154 ms
72,188 KB
testcase_01 AC 187 ms
72,992 KB
testcase_02 AC 310 ms
73,992 KB
testcase_03 AC 179 ms
72,564 KB
testcase_04 AC 263 ms
74,792 KB
testcase_05 AC 176 ms
73,228 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Date;
import java.util.Scanner;
public class Main{
	public static void main(String[] args){
		long exec_time=new Date().getTime();
		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(""+i+j+k);
					System.out.flush();
					String str=sc.next();
					if(str.charAt(0)=='u')
						return;
				}
			}
		}
	}
}
0