結果
問題 |
No.305 鍵(2)
|
ユーザー |
![]() |
提出日時 | 2016-02-22 22:49:46 |
言語 | Python2 (2.7.18) |
結果 |
RE
|
実行時間 | - |
コード長 | 540 bytes |
コンパイル時間 | 368 ms |
コンパイル使用メモリ | 7,072 KB |
実行使用メモリ | 25,616 KB |
平均クエリ数 | 1.00 |
最終ジャッジ日時 | 2024-07-16 08:37:38 |
合計ジャッジ時間 | 3,676 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | RE * 13 |
ソースコード
# -*- coding: utf-8 -*- import sys Klist = [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, 4): for j in range(0, 4): 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 tmp1 += 1