讨厌晴天

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

题目描述

四川高温天气仍将持续,大部地区最高气温将达39~42℃或以上,酷热难耐,现在你手里有一些天气数据十分混乱,请你分别统计出晴、阴、雨这三种天气的天数。

Format

Input

一串表示天气的字符串,晴sunny阴overcast雨rain.

Output

分别输出晴、阴、雨天数.

Samples

sunnysunnysunnyrainrainovercast
3 1 2

数据范围

字符串长度不超过3e6

Limitation

1s, 1024KiB for each test case.

ACM21级内卷赛验题

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
18
Start at
2022-8-18 18:30
End at
2022-8-29 18:30
Duration
264 hour(s)
Host
Partic.
1