結果
| 問題 | No.305 鍵(2) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2015-11-27 22:47:01 |
| 言語 | PyPy2 (7.3.20) |
| 結果 |
AC
|
| 実行時間 | 202 ms / 2,000 ms |
| + 3µs | |
| コード長 | 497 bytes |
| 記録 | |
| コンパイル時間 | 70 ms |
| コンパイル使用メモリ | 80,896 KB |
| 実行使用メモリ | 95,360 KB |
| 平均クエリ数 | 80.85 |
| 最終ジャッジ日時 | 2026-07-17 23:48:27 |
| 合計ジャッジ時間 | 2,891 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 13 |
ソースコード
# -*- coding: utf-8 -*-
import sys,copy,math,heapq,itertools as it,fractions,re,bisect,collections as coll
ans = ""
for i in xrange(10):
mx, k = 0, -1
for j in xrange(10):
tmp = "0" * (10 - i - 1) + str(j) + ans
print tmp
sys.stdout.flush()
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()