結果
| 問題 |
No.2768 Password Crack
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-02-19 13:54:06 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 308 bytes |
| コンパイル時間 | 353 ms |
| コンパイル使用メモリ | 82,360 KB |
| 実行使用メモリ | 95,196 KB |
| 平均クエリ数 | 892.20 |
| 最終ジャッジ日時 | 2025-02-19 13:54:13 |
| 合計ジャッジ時間 | 6,771 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 28 RE * 1 |
ソースコード
n=int(input())
S=["a"]*n
print("?","".join(S))
t=int(input())
for i in range(n):
while 1:
S[i]=chr(ord(S[i])+1)
print("?", "".join(S))
t1=int(input())
if t1<t:
S[i]="a"
break
if t1>t:
t=t1
break
print("!","".join(S))