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 1769. Old Ural Legend

Why my algo is right?
Posted by Felix_Mate 27 Feb 2016 18:46
I created array p[1..10000000] of boolean; p[i]=true when exist i in input. But i can t prove that if length of input <=100000 then absent numb <=10000000
Re: Why my algo is right?
Posted by Egor_Shchetinin 9 Feb 2019 17:21
because if you will write all numbers from 1 to 10000000. string length will be more than 10^5