|
|
back to boardCommon Board1014..W.A again Hiya, can anyone tell me some tricky input data for problem 1014 (the one with the multiplication of digits), because i get "Wrong Answer" which is not this i suppose to see for my "try'em all" solution. Petko Minkov trick is that you should print -1 when failed 10 for 0 1 for 1 2 for 2 and finally and most important -1 for 11 Re: trick is that you should print -1 when failed > 10 for 0 > 1 for 1 > 2 for 2 > and finally and most important > -1 for 11 Thank you very much. I got accepted! But for me, the tricky one was 0. Why for 1..9 you print coresponding 1..9 and for 0 you print 10 ?? I can't figure it out. Re: trick is that you should print -1 when failed > > 10 for 0 > > 1 for 1 > > 2 for 2 > > and finally and most important > > -1 for 11 > > Thank you very much. I got accepted! But for me, the > tricky one was 0. Why for 1..9 you print coresponding > 1..9 and for 0 you print 10 ?? I can't figure it out. > "Your task is to find the minimal POSITIVE integer number Q " do you think that 0 is a positive number? |
|
|