結果
| 問題 |
No.2268 NGワード回避
|
| コンテスト | |
| ユーザー |
titia
|
| 提出日時 | 2023-04-14 21:39:41 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 37 ms / 2,000 ms |
| コード長 | 220 bytes |
| コンパイル時間 | 210 ms |
| コンパイル使用メモリ | 12,800 KB |
| 実行使用メモリ | 12,288 KB |
| 最終ジャッジ日時 | 2024-10-10 12:22:23 |
| 合計ジャッジ時間 | 3,879 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 52 |
ソースコード
N=int(input())
S=[input() for i in range(N)]
from random import choice
while True:
x=[choice(["a","b"]) for i in range(N)]
if "".join(x) in S:
continue
else:
print("".join(x))
break
titia