結果

問題 No.305 鍵(2)
ユーザー HIROPON87069639HIROPON87069639
提出日時 2016-02-22 22:34:51
言語 Python2
(2.7.18)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 473 bytes
コンパイル時間 62 ms
コンパイル使用メモリ 6,736 KB
実行使用メモリ 24,372 KB
平均クエリ数 66.62
最終ジャッジ日時 2023-09-23 08:55:31
合計ジャッジ時間 2,093 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 38 ms
24,336 KB
testcase_02 WA -
testcase_03 AC 37 ms
23,568 KB
testcase_04 AC 38 ms
24,012 KB
testcase_05 AC 38 ms
24,312 KB
testcase_06 AC 36 ms
23,424 KB
testcase_07 WA -
testcase_08 AC 37 ms
23,592 KB
testcase_09 AC 37 ms
23,664 KB
testcase_10 AC 40 ms
23,964 KB
testcase_11 AC 38 ms
24,012 KB
testcase_12 AC 39 ms
23,316 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

# -*- coding: utf-8 -*-
import sys
Klist = [0,0,0,0,0,0,0,0,0,0]
print "".join(map(str, Klist))
sys.stdout.flush()
tmp1, tmp2 = raw_input().split()
if tmp2 == "unlocked":
    exit()

for i in range(0, 10):
    for j in range(0, 10):
        Klist[i] = j
        tmp3 = tmp1
        print "".join(map(str, Klist))
        sys.stdout.flush()
        tmp1, tmp2 = raw_input().split()
        if tmp2 == "unlocked":
            exit()
        if tmp3 < tmp1:
            break
0