結果

問題 No.342 一番ワロタww
ユーザー 👑 rin204rin204
提出日時 2022-01-20 03:43:13
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 336 bytes
コンパイル時間 299 ms
コンパイル使用メモリ 86,660 KB
実行使用メモリ 71,276 KB
最終ジャッジ日時 2023-08-15 08:23:27
合計ジャッジ時間 3,176 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
71,156 KB
testcase_01 WA -
testcase_02 AC 72 ms
71,256 KB
testcase_03 AC 71 ms
70,968 KB
testcase_04 AC 72 ms
70,928 KB
testcase_05 AC 72 ms
71,256 KB
testcase_06 AC 72 ms
71,276 KB
testcase_07 AC 71 ms
71,168 KB
testcase_08 WA -
testcase_09 AC 73 ms
71,084 KB
testcase_10 AC 72 ms
71,092 KB
testcase_11 AC 73 ms
71,084 KB
testcase_12 AC 78 ms
71,252 KB
testcase_13 AC 72 ms
71,088 KB
testcase_14 AC 72 ms
71,184 KB
testcase_15 AC 73 ms
71,180 KB
testcase_16 AC 73 ms
71,168 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

w = "w"

S = input() + "_"
S = S.lstrip(w).split(w)

if len(S) == 1:
    print()
    exit()
cnt = [[] for _ in range(100)]
c = 0
b = ""
for s in S:
    if s != "":
        cnt[c].append(b)
        b = s
        c = 0
    else:
        c += 1


for i in range(99, -1, -1):
    if cnt[i]:
        print(*cnt[i], sep="\n")
        break
0