結果
| 問題 |
No.305 鍵(2)
|
| コンテスト | |
| ユーザー |
HIROPON87069639
|
| 提出日時 | 2016-02-22 22:59:22 |
| 言語 | Python2 (2.7.18) |
| 結果 |
AC
|
| 実行時間 | 42 ms / 2,000 ms |
| コード長 | 581 bytes |
| コンパイル時間 | 104 ms |
| コンパイル使用メモリ | 7,040 KB |
| 実行使用メモリ | 25,232 KB |
| 平均クエリ数 | 66.62 |
| 最終ジャッジ日時 | 2024-07-16 22:57:04 |
| 合計ジャッジ時間 | 1,769 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 13 |
ソースコード
# -*- 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()
tmp1 = int(tmp1)
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()
tmp1 = int(tmp1)
if tmp2 == "unlocked":
exit()
if tmp3 < tmp1:
break
if j == 9:
Klist[i] = 0
tmp1 += 1
HIROPON87069639