結果
| 問題 | No.342 一番ワロタww |
| コンテスト | |
| ユーザー |
taba
|
| 提出日時 | 2016-04-14 20:36:54 |
| 言語 | PyPy2 (7.3.20) |
| 結果 |
AC
|
| 実行時間 | 54 ms / 5,000 ms |
| + 2µs | |
| コード長 | 260 bytes |
| 記録 | |
| コンパイル時間 | 60 ms |
| コンパイル使用メモリ | 80,916 KB |
| 実行使用メモリ | 81,628 KB |
| 最終ジャッジ日時 | 2026-07-18 05:20:29 |
| 合計ジャッジ時間 | 2,382 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 14 |
ソースコード
#coding:utf-8
import re
s=raw_input()
r=re.compile(".+?(?:w)+")
m=r.findall(s)
t=[(i.count("w"),i) for i in m if len(i.replace("w",""))>0]
if len(t)==0:
exit()
m=max([i[0] for i in t])
t=[i[1].replace("w","") for i in t if i[0]==m]
print "\n".join(t)
taba