結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 38 ms
23,472 KB
testcase_02 AC 38 ms
23,352 KB
testcase_03 AC 38 ms
23,340 KB
testcase_04 AC 38 ms
23,964 KB
testcase_05 AC 39 ms
23,400 KB
testcase_06 AC 36 ms
23,760 KB
testcase_07 WA -
testcase_08 AC 38 ms
23,400 KB
testcase_09 AC 38 ms
23,832 KB
testcase_10 AC 38 ms
23,604 KB
testcase_11 AC 38 ms
23,436 KB
testcase_12 AC 39 ms
24,348 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
        Klist[i] = 0
0