Toggle navigation
编绘童年
F.A.Qs
ProblemSet
Source/Category
Status
Ranklist
Contest
Login
Problem1523--递推-找规律2
1523: 递推-找规律2
Time Limit:
1
Sec
Memory Limit:
128 MB
Submit:
72
Solved:
61
[
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