結果
| 問題 | No.305 鍵(2) |
| コンテスト | |
| ユーザー |
yn
|
| 提出日時 | 2015-11-27 23:38:42 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 110 ms / 2,000 ms |
| コード長 | 587 bytes |
| 記録 | |
| コンパイル時間 | 321 ms |
| コンパイル使用メモリ | 20,828 KB |
| 実行使用メモリ | 34,700 KB |
| 平均クエリ数 | 44.08 |
| 最終ジャッジ日時 | 2026-03-31 11:08:52 |
| 合計ジャッジ時間 | 2,745 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 13 |
ソースコード
import sys
count = 0
n = 10
num = ["0"]*n
print("".join(num))
sys.stdout.flush()
s = list(map(str,input().split()))
count = int(s[0])
if count == n:
exit()
for i in range(n):
for j in range(1,n):
num[i] = str(j)
print("".join(num))
sys.stdout.flush()
s = list(map(str,input().split()))
if int(s[0]) == n:
exit()
if int(s[0]) == count:
continue
if int(s[0]) > count:
count = int(s[0])
break
if int(s[0]) < count:
num[i] = str(0)
break
exit()
yn