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 1406. Next Number

Some helpful test !!!!!!!!!!
Posted by Noname 12 Jun 2006 17:30
Try this test

inp
901000

ans
910000
Re: Some helpful test !!!!!!!!!!
Posted by Bob 4 Nov 2006 21:55
And this

input:
091

output:
109
Re: Some helpful test !!!!!!!!!!
Posted by Azrail 22 Dec 2006 19:06
and

092
119

0920
1019

Edited by author 22.12.2006 19:08
Re: Some helpful test !!!!!!!!!!
Posted by neoGolden 3 Jan 2007 23:59
My program "give AC" on your tests, but give WA#19.
Somebody, give me more tests please.
Re: Some helpful test !!!!!!!!!!
Posted by AlexF [USTU] 4 Jan 2007 11:13
Try this
39910000 -> 40000099
99 -> -1
00 -> -1
1 -> -1
011 -> 020
Good Luck!)
Re: Some helpful test !!!!!!!!!!
Posted by Jorge Alejandro Millán Chang 18 Jul 2007 05:05
Try this and look for the time

010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Should give

100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Edited by author 18.07.2007 05:06
Re: Some helpful test !!!!!!!!!!
Posted by Mace(Lviv Polytechniс NU) 22 Sep 2007 01:40
0490->0508
Re: Some helpful test !!!!!!!!!!
Posted by Baranovichi Lyceum #1: Novikov Michael 8 Oct 2008 01:19
My program give AC on your tests, but give WA#4. Please give me tests #4 or more tests. Thank.
Re: Some helpful test !!!!!!!!!!
Posted by LLIRIK 6 Jun 2009 23:07

Edited by author 06.06.2009 23:08

Edited by author 06.06.2009 23:08
Re: Some helpful test !!!!!!!!!!
Posted by Kirom `Ekexity [SESC17]💻 24 Aug 2019 12:19
Test 59 look like:

1000000000000000000000000

Answer: -1