結果
| 問題 |
No.2768 Password Crack
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-05-31 22:01:21 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 256 bytes |
| コンパイル時間 | 452 ms |
| コンパイル使用メモリ | 82,428 KB |
| 実行使用メモリ | 71,712 KB |
| 平均クエリ数 | 75.30 |
| 最終ジャッジ日時 | 2024-12-20 23:25:44 |
| 合計ジャッジ時間 | 7,782 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 1 |
| other | AC * 2 WA * 27 |
ソースコード
N=int(input())
ans=["a"]*N
for i in range(N):
x=0
tmp=0
for j in range(26):
ans[i]=chr(97+j)
t="".join(ans)
print("?",t,flush=1)
n=int(input())
if n>x:
x=n
tmp=j
break
ans[i]=chr(97+j)
print("!","".join(ans))