結果
| 問題 | No.305 鍵(2) |
| コンテスト | |
| ユーザー |
steek79
|
| 提出日時 | 2015-11-27 22:54:03 |
| 言語 | PyPy2 (7.3.15) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 418 bytes |
| 記録 | |
| コンパイル時間 | 143 ms |
| コンパイル使用メモリ | 77,368 KB |
| 最終ジャッジ日時 | 2025-12-03 17:56:22 |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 1 TLE * 1 -- * 11 |
ソースコード
import sys
import itertools
answerlike = ''
for i in xrange(10):
print str(i) * 10
sys.stdout.flush()
res = raw_input().split()[0]
if res == 10:
exit()
else:
for _ in xrange(int(res)):
answerlike += str(i)
for p in itertools.permutations(answerlike):
print ''.join(p)
sys.stdout.flush()
res = raw_input().split()[1]
if res == 'unlocked':
break
steek79