結果

問題 No.304 鍵(1)
ユーザー te-shte-sh
提出日時 2017-06-15 17:41:49
言語 D
(dmd 2.106.1)
結果
AC  
実行時間 65 ms / 2,000 ms
コード長 212 bytes
コンパイル時間 1,631 ms
コンパイル使用メモリ 137,552 KB
実行使用メモリ 24,276 KB
平均クエリ数 309.17
最終ジャッジ日時 2023-09-03 14:28:11
合計ジャッジ時間 2,741 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 29 ms
23,400 KB
testcase_01 AC 30 ms
23,436 KB
testcase_02 AC 65 ms
23,676 KB
testcase_03 AC 30 ms
24,276 KB
testcase_04 AC 45 ms
23,628 KB
testcase_05 AC 29 ms
23,664 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import std.algorithm, std.conv, std.range, std.stdio, std.string;

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