結果
| 問題 |
No.305 鍵(2)
|
| コンテスト | |
| ユーザー |
lllllll88938494
|
| 提出日時 | 2023-05-09 13:59:42 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 73 ms / 2,000 ms |
| コード長 | 533 bytes |
| コンパイル時間 | 461 ms |
| コンパイル使用メモリ | 82,432 KB |
| 実行使用メモリ | 69,856 KB |
| 平均クエリ数 | 101.62 |
| 最終ジャッジ日時 | 2024-11-26 00:58:07 |
| 合計ジャッジ時間 | 2,374 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 13 |
ソースコード
ans=[-1]*10
for i in range(10):
t= [str(i) for _ in range(10)]
print(''.join(t),flush=True)
x,s=input().split()
if s == 'unlocked':
exit()
x=int(x)
for j in range(10):
t[j] = str((i+1)%10)
print(''.join(t),flush=True)
y,s=input().split()
if s == 'unlocked':
exit()
y=int(y)
if x>y:
ans[j] = str(i)
x = y
# print(ans)
print(''.join(ans),flush=True)
z,s=input().split()
lllllll88938494