|
|
вернуться в форумTest #4 Edited by author 29.10.2007 01:40 Re: Test #4 It's test with '0' in input, you need to print '10' for it not '0' Re: Test #4 Послано OZone3 3 июл 2009 21:20 I think it is better to exclude "0" from {Q} because AFAIK it is not decided whether 0 is positive or a "number without a sign". Re: Test #4 Послано Yugi 22 окт 2009 13:00 Thanx! Re: Test #4 Why? Why isn't the minimal product just "0"? Do you have to have two digits ta make a product or what is the test really? Re: Test #4 Quote: "Your task is to find the minimal POSITIVE integer number Q so ...." Edited by author 19.02.2010 18:25 Re: Test #4 mikael@ubuntu:~/Desktop$ ./xx 1 1 mikael@ubuntu:~/Desktop$ ./xx 0 10 mikael@ubuntu:~/Desktop$ ./xx 2 2 mikael@ubuntu:~/Desktop$ ./xx 3 3 mikael@ubuntu:~/Desktop$ ./xx 4 22 mikael@ubuntu:~/Desktop$ ./xx 5 5 mikael@ubuntu:~/Desktop$ ./xx 6 23 mikael@ubuntu:~/Desktop$ ./xx 8 24 mikael@ubuntu:~/Desktop$ ./xx 9 33 mikael@ubuntu:~/Desktop$ ./xx 10 25 mikael@ubuntu:~/Desktop$ ./xx 20 45 mikael@ubuntu:~/Desktop$ ./xx 25 55 mikael@ubuntu:~/Desktop$ ./xx 30 56 mikael@ubuntu:~/Desktop$ ./xx 45 59 mikael@ubuntu:~/Desktop$ ./xx 60 256 mikael@ubuntu:~/Desktop$ ./xx 105 357 mikael@ubuntu:~/Desktop$ ./xx 108 269 mikael@ubuntu:~/Desktop$ Re: Test #4 what is wrong here?? Re: Test #4 mikael@ubuntu:~/Desktop$ ./xx 4 22 this is wrong should be 4 Re: Test #4 4 22 this is wrong should be 4 yeah this is wrong the minimal for 4 is 4 Edited by author 06.01.2011 01:47 |
|
|