結果
| 問題 |
No.304 鍵(1)
|
| コンテスト | |
| ユーザー |
neko_the_shadow
|
| 提出日時 | 2019-03-01 10:36:21 |
| 言語 | Java (openjdk 23) |
| 結果 |
AC
|
| 実行時間 | 421 ms / 2,000 ms |
| コード長 | 479 bytes |
| コンパイル時間 | 2,799 ms |
| コンパイル使用メモリ | 74,328 KB |
| 実行使用メモリ | 60,472 KB |
| 平均クエリ数 | 309.17 |
| 最終ジャッジ日時 | 2024-07-17 02:07:56 |
| 合計ジャッジ時間 | 4,662 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 6 |
ソースコード
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner stdin = new Scanner(System.in);
for (int i = 0; i < 1000; i++) {
String password = String.format("%03d", i);
System.out.println(password);
System.out.flush();
String answer = stdin.nextLine();
if (answer.equals("unlocked")) {
System.exit(0);
}
}
}
}
neko_the_shadow