結果
問題 |
No.2768 Password Crack
|
ユーザー |
![]() |
提出日時 | 2024-05-31 21:48:45 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 236 bytes |
コンパイル時間 | 342 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 27,824 KB |
平均クエリ数 | 1785.17 |
最終ジャッジ日時 | 2024-12-20 23:07:55 |
合計ジャッジ時間 | 10,086 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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)