結果
| 問題 | No.305 鍵(2) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2015-11-27 22:45:16 |
| 言語 | PyPy2 (7.3.15) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 501 bytes |
| 記録 | |
| コンパイル時間 | 160 ms |
| コンパイル使用メモリ | 77,400 KB |
| 最終ジャッジ日時 | 2025-12-03 17:56:02 |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 3 WA * 1 RE * 9 |
ソースコード
# -*- 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()