結果
問題 |
No.305 鍵(2)
|
ユーザー |
![]() |
提出日時 | 2016-02-22 22:53:13 |
言語 | Python2 (2.7.18) |
結果 |
WA
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 577 bytes |
コンパイル時間 | 49 ms |
コンパイル使用メモリ | 6,944 KB |
実行使用メモリ | 25,616 KB |
平均クエリ数 | 83.62 |
最終ジャッジ日時 | 2024-07-16 08:37:42 |
合計ジャッジ時間 | 3,096 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 1 WA * 12 |
ソースコード
# -*- 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 Klist[i] = 0 if j != 9: tmp1 += 1