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 1310. ACM Diagnostics

Sample test
Posted by Samsonov Alex [USU] 3 Apr 2006 15:42
Am I right?

1. there are 200 chains with first digit from 1 to 8
2. 201: 9-1-2
   202: 9-1-6
   203: 9-1-10
   204: 9-2-1
   205: 9-2-5
   206: 9-2-9
   207: 9-3-4
   208: 9-3-8
   209: 9-4-3
   210: 9-4-7
   211: 9-5-2
   212: 9-5-6
   213: 9-5-10 !!
   214: 9-6-1...

Then, is sample correct?
Re: Sample test
Posted by Anton Lun'ov 9 Apr 2006 03:01
First chain has index 0. So test is correct.