結果

問題 No.342 一番ワロタww
ユーザー daku9640daku9640
提出日時 2018-09-11 23:36:05
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
RE  
実行時間 -
コード長 215 bytes
コンパイル時間 147 ms
コンパイル使用メモリ 10,468 KB
実行使用メモリ 8,992 KB
最終ジャッジ日時 2023-09-06 16:07:28
合計ジャッジ時間 1,459 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 AC 25 ms
8,840 KB
testcase_02 AC 24 ms
8,860 KB
testcase_03 AC 23 ms
8,912 KB
testcase_04 AC 24 ms
8,888 KB
testcase_05 AC 24 ms
8,896 KB
testcase_06 AC 24 ms
8,892 KB
testcase_07 AC 25 ms
8,860 KB
testcase_08 AC 26 ms
8,904 KB
testcase_09 AC 25 ms
8,916 KB
testcase_10 AC 25 ms
8,896 KB
testcase_11 AC 26 ms
8,896 KB
testcase_12 AC 26 ms
8,948 KB
testcase_13 AC 25 ms
8,900 KB
testcase_14 RE -
testcase_15 RE -
testcase_16 AC 23 ms
8,904 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import defaultdict
import re
m = defaultdict(list)
{m[a.count("w")].append(a.replace("w", "")) for a in re.findall(r"[^w]+w+", input()) if not a is None}
print(*max(m.items())[1], sep="\n")
0