結果
| 問題 | 
                            No.304 鍵(1)
                             | 
                    
| コンテスト | |
| ユーザー | 
                             Tsukasa_Type
                         | 
                    
| 提出日時 | 2018-02-11 23:17:42 | 
| 言語 | Java  (openjdk 23)  | 
                    
| 結果 | 
                             
                                RE
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 439 bytes | 
| コンパイル時間 | 2,459 ms | 
| コンパイル使用メモリ | 76,832 KB | 
| 実行使用メモリ | 71,996 KB | 
| 平均クエリ数 | 1.00 | 
| 最終ジャッジ日時 | 2024-07-16 15:25:30 | 
| 合計ジャッジ時間 | 5,643 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge5 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | RE * 6 | 
ソースコード
import java.util.*;
public class Main {
	static Scanner sc = new Scanner(System.in);
	public static void main(String[] args) {
		int num = 0;
		while (true) {
			String s = "";
			if (num <= 9) {
				s += "00";
				s += num;
			}
			if (10<=num && num<=99) {
				s += "0";
				s += num;
			}
			else {
				s += num;
			}
			System.out.println(s);
			String result = sc.next();
			if (result.equals("unlocked")) {break;}
			num++;
		}
	}
}
            
            
            
        
            
Tsukasa_Type