結果
| 問題 |
No.305 鍵(2)
|
| コンテスト | |
| ユーザー |
yn
|
| 提出日時 | 2015-11-27 23:36:11 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 561 bytes |
| コンパイル時間 | 119 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 27,864 KB |
| 平均クエリ数 | 44.15 |
| 最終ジャッジ日時 | 2024-07-16 06:43:33 |
| 合計ジャッジ時間 | 1,949 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 12 RE * 1 |
ソースコード
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])
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