結果
| 問題 |
No.305 鍵(2)
|
| コンテスト | |
| ユーザー |
yn
|
| 提出日時 | 2015-11-27 23:38:42 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 56 ms / 2,000 ms |
| コード長 | 587 bytes |
| コンパイル時間 | 221 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 27,608 KB |
| 平均クエリ数 | 44.08 |
| 最終ジャッジ日時 | 2024-07-16 21:54:36 |
| 合計ジャッジ時間 | 1,950 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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