結果
| 問題 |
No.2768 Password Crack
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-05-31 22:04:08 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 255 bytes |
| コンパイル時間 | 253 ms |
| コンパイル使用メモリ | 82,012 KB |
| 実行使用メモリ | 94,652 KB |
| 平均クエリ数 | 1804.07 |
| 最終ジャッジ日時 | 2024-12-20 23:32:05 |
| 合計ジャッジ時間 | 10,824 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 13 RE * 16 |
ソースコード
N=int(input())
ans=["a"]*N
for i in range(N):
x=0
tmp=0
flag=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
ans[i]=chr(97+tmp)
print("!","".join(ans))