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 1165. Subnumber

Test 21
Posted by Fyodor Menshikov 27 Apr 2009 13:36
Something like 2121.

It is subnumber of 1212 1213

But! It can be either 1[212 1]213 or 121[2 121]3.

Correct answer is 3739 (first case), incorrect is 3741 (second case).