結果
| 問題 |
No.305 鍵(2)
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2015-11-27 22:45:16 |
| 言語 | Python2 (2.7.18) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 501 bytes |
| コンパイル時間 | 117 ms |
| コンパイル使用メモリ | 7,040 KB |
| 実行使用メモリ | 25,488 KB |
| 平均クエリ数 | 17.46 |
| 最終ジャッジ日時 | 2024-07-16 06:37:16 |
| 合計ジャッジ時間 | 5,223 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 3 RE * 4 TLE * 1 -- * 5 |
ソースコード
# -*- coding: utf-8 -*-
import sys,copy,math,heapq,itertools as it,fractions,re,bisect,collections as coll
ans = ""
for i in xrange(10):
for j in xrange(10):
tmp = "0" * (10 - i - 1) + str(j) + ans
print tmp
sys.stdout.flush()
mx, k = 0, -1
hit, res = raw_input().split()
if res == "unlocked":
exit()
hit = int(hit)
if hit > mx:
mx = hit
k = j
ans = str(k) + ans
print ans
res = raw_input()