吃雪糕

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.

Background

如此炎热的夏天,有雪糕吃可以说是非常幸福的,但是随着雪糕刺客的出现,再也不敢乱买雪糕了,这时候朋友的作用来啦!朋友非常good,提供了一串字符,说里面是他能够请的最大雪糕数。

Description

输入一串字符串s(0< s <=25),统计字符串中的的质数个数n,注意只统计个位数字也就是(0~9),详细见样例解释

Format

Input

一串混合字符串s.

Output

如果n>0,输出质数个数,同时输出"xiexielaoban!";如果n=0,则输出"qionggui+1".

Samples

xisb1hu3bjb2buib900
2
xiexielaoban!

提示

对于样例出现的数字为,1,3,2,9,0,0其中质数为,2,3一共两个,注意只统计个位数字

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