Toggle navigation
编绘童年
F.A.Qs
ProblemSet
Source/Category
Status
Ranklist
Contest
Login
Problem2298--递推-找规律-2
2298: 递推-找规律-2
Time Limit:
1
Sec
Memory Limit:
128 MB
Submit:
209
Solved:
168
[
Status
] [
Submit
] [Creator:
]
Description
找规律 ,问第n个数是多少?(n<=10000)
2 22 222 2222 22222 ____________
因为数据过大,最终结果输出除以997的余数
Sample Input
Copy
3
Sample Output
Copy
222
HINT
样例输入2
6
样例输出2
888
样例输入3
1000
样例输出3
228
Source/Category
提高B