Type: Default 1000ms 256MiB

位数问题

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.

Description

在所有的N位数中,有多少个数中有偶数个数字3?由于结果可能很大,你只需要输出这个答案对12345取余的值。

Input Format

读入一个数N。

Output Format

输出有多少个数中有偶数个数字3。

2

73

2026-4-26递推练习

Not Attended
Status
Done
Rule
XCPC
Problem
9
Start at
2026-4-26 13:30
End at
2026-4-26 16:30
Duration
3 hour(s)
Host
Partic.
8