結果
| 問題 | No.2768 Password Crack |
| コンテスト | |
| ユーザー |
ニックネーム
|
| 提出日時 | 2024-05-31 21:48:45 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 236 bytes |
| 記録 | |
| コンパイル時間 | 421 ms |
| コンパイル使用メモリ | 20,696 KB |
| 実行使用メモリ | 35,460 KB |
| 平均クエリ数 | 1785.17 |
| 最終ジャッジ日時 | 2026-05-27 18:26:21 |
| 合計ジャッジ時間 | 9,029 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 1 |
| other | WA * 29 |
ソースコード
n = int(input()); s = ""
for i in range(n):
a = []
for j in range(25):
print("?","a"*i+chr(j+97)+"a"*(n-i-1))
a.append(int(input()))
if min(a)==max(a): s += "z"
else: s += chr(a.index(max(a))+97)
print(s)
ニックネーム