|
|
вернуться в форумWhy we should use GCD in this problem? Послано BYF 29 окт 2004 19:30 I've got AC, but I don't know the reason exactly. I just guessed it, and got AC. Re: Why we should use GCD in this problem? Послано BYF 30 окт 2004 13:55 How about this case? 5 2 1 3 4 5 I think k could be 2 2 5 3 4 1 1 5 3 4 2 1 2 3 4 5 But my program output 0 Do I misunderstand this problem or something else? |
|
|