ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1605. Devil's Sequence

Some tests
Posted by Oracle[Lviv NU] 3 Nov 2008 22:25
that is what my AC prog gives on some tests:
n=7, res=1
n=7777, res=2340
n=77777, res=23412
n=99997, res=30101
n=99998, res=30102
n=52251, res=15728
n=55555, res=16723
n=100000, res=30102
Re: Some tests
Posted by 8P 21 Jan 2010 08:57
6 1
66 19
666 200
6666 2006
66666 20068
666666 200686
6666666 2006866
66666666 20068666
666666666 200686663

Edited by author 16.02.2010 08:43