結果

問題 No.342 一番ワロタww
ユーザー daku9640daku9640
提出日時 2018-09-11 23:37:24
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 28 ms / 5,000 ms
コード長 225 bytes
コンパイル時間 80 ms
コンパイル使用メモリ 10,564 KB
実行使用メモリ 9,068 KB
最終ジャッジ日時 2023-09-06 16:10:27
合計ジャッジ時間 1,375 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 26 ms
8,904 KB
testcase_01 AC 28 ms
8,912 KB
testcase_02 AC 27 ms
8,952 KB
testcase_03 AC 25 ms
8,864 KB
testcase_04 AC 25 ms
8,968 KB
testcase_05 AC 25 ms
8,952 KB
testcase_06 AC 25 ms
8,908 KB
testcase_07 AC 25 ms
8,988 KB
testcase_08 AC 25 ms
8,924 KB
testcase_09 AC 26 ms
8,928 KB
testcase_10 AC 25 ms
9,068 KB
testcase_11 AC 26 ms
8,944 KB
testcase_12 AC 25 ms
8,892 KB
testcase_13 AC 25 ms
8,900 KB
testcase_14 AC 26 ms
9,060 KB
testcase_15 AC 25 ms
8,940 KB
testcase_16 AC 25 ms
8,948 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import defaultdict
import re
m = defaultdict(list)
m[0] = []
{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