結果

問題 No.304 鍵(1)
ユーザー kaiyori_labkaiyori_lab
提出日時 2015-11-27 23:57:47
言語 D
(dmd 2.107.1)
結果
AC  
実行時間 55 ms / 2,000 ms
コード長 236 bytes
コンパイル時間 2,990 ms
コンパイル使用メモリ 137,160 KB
実行使用メモリ 24,324 KB
平均クエリ数 478.50
最終ジャッジ日時 2023-09-02 20:24:58
合計ジャッジ時間 2,426 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 55 ms
24,324 KB
testcase_01 AC 47 ms
23,556 KB
testcase_02 AC 26 ms
24,000 KB
testcase_03 AC 50 ms
23,628 KB
testcase_04 AC 32 ms
23,400 KB
testcase_05 AC 27 ms
24,324 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import std.stdio;
import std.string;
import std.random;
import std.range;

void main(){
  foreach(i; randomCover(iota(0, 1000))){
    writefln("%03d", i);
    stdout.flush;
    auto s = readln.strip;
    if(s == "unlocked") break;
  }
}
0