Type: Default 1000ms 256MiB

12/22

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.

12/22

题面翻译

输入一个四位数 nn,请输出这个四位数 nn22 出现的次数

输入格式

一个正整数 nn

输出格式

一个整数表示答案.

样例 #1

样例输入 #1

1222

样例输出 #1

3

样例 #2

样例输入 #2

3456

样例输出 #2

0

样例 #3

样例输入 #3

9592

样例输出 #3

1

数据范围

1000  N  99991000\ \leq\ N\ \leq\ 9999

20240910集训

Not Attended
Status
Done
Rule
IOI(Strict)
Problem
6
Start at
2024-9-10 19:00
End at
2024-9-10 21:00
Duration
2 hour(s)
Host
Partic.
26