結果
| 問題 |
No.305 鍵(2)
|
| コンテスト | |
| ユーザー |
matsu7874
|
| 提出日時 | 2015-11-29 16:05:01 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 496 bytes |
| コンパイル時間 | 158 ms |
| コンパイル使用メモリ | 12,800 KB |
| 実行使用メモリ | 27,608 KB |
| 平均クエリ数 | 45.23 |
| 最終ジャッジ日時 | 2024-07-16 08:00:42 |
| 合計ジャッジ時間 | 2,038 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 12 RE * 1 |
ソースコード
import sys
answer = ['0']*10
print('0'*10)
sys.stdout.flush()
zero, lock = input().split()
zero = int(zero)
for i in range(10):
for j in range(1,10):
print('0'*i+str(j)+'0'*(9-i))
sys.stdout.flush()
x, lock = input().split()
if int(x) == 10:
exit()
if int(x) > zero:
answer[i] = str(j)
break
elif int(x) < zero:
break
print(''.join(answer))
sys.stdout.flush()
x, lock = input().split()
exit()
matsu7874