結果
| 問題 | No.2268 NGワード回避 |
| コンテスト | |
| ユーザー |
sepa38
|
| 提出日時 | 2023-04-14 21:41:08 |
| 言語 | PyPy3 (7.3.23 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 66 ms / 2,000 ms |
| + 724µs | |
| コード長 | 216 bytes |
| 記録 | |
| コンパイル時間 | 76 ms |
| コンパイル使用メモリ | 81,280 KB |
| 実行使用メモリ | 84,564 KB |
| 最終ジャッジ日時 | 2026-09-13 05:23:30 |
| 合計ジャッジ時間 | 4,402 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 52 |
ソースコード
n = int(input())
s = set([input() for _ in range(n)])
for i in range(1<<n):
cnd = []
for j in range(n):
cnd.append(chr(97+i%2))
i //= 2
if "".join(cnd) in s:
continue
print(*cnd, sep = "")
break
sepa38