結果
| 問題 |
No.305 鍵(2)
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-08-17 22:01:36 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 277 bytes |
| コンパイル時間 | 102 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 27,608 KB |
| 平均クエリ数 | 1.00 |
| 最終ジャッジ日時 | 2024-07-17 05:56:14 |
| 合計ジャッジ時間 | 3,136 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 1 RE * 12 |
ソースコード
s=['0']*10
for i in range(10):
a=[]*10
for j in range(10):
s[i]=str(j)
print(''.join(s),flush=True)
x,res=input().split()
if res=='unlocked':
exit(0)
a[j]=tuple(x,str(j))
a.sort()
if a[0][0]!=a[1][0]:
s[i]=a[0][1]
else:
s[i]=a[-1][1]