Solution Послано Roland 17 окт 2009 21:15 Very easy:) just print numbers 1,2,...,n then n+1,2*n+1,...,m*n+1 Re: Solution Sorry,can you explain why... Thank you. Re: Solution Послано Roland 26 окт 2009 22:33 because if you take any 2 numbers(a1,a2) from the 2 line and any 2 numbers(b1,b2) from the 3 line, a1+b1!=a2+b2 and a1+b2!=a2+b1... Re: Solution Послано Zefick 19 мар 2010 10:47 or 1, 2, 3, ... n 100, 200, 300, m*100 :) Re: Solution Послано wizzi 7 апр 2010 17:39 Can someone explain me why following solution incorrect? 1,2,3,..,n n, 2*n+1, 3*n+2, .. m*n+m-1 I got WA#1 with it. Re: Solution _ Edited by author 20.04.2010 00:42 Re: Solution I had done as you saggest and after my program was crashed on 6 test. What it means? And what me do now? Please help, because it very importent for me. Thank you for advance! Very easy:) just print numbers 1,2,...,n then n+1,2*n+1,...,m*n+1 Re: Solution Everithing is done! Sorry for my mindless please. Re: Solution Excuse me again. I would like to know from what thinking I can gone to this solution. Because I must to explain my teacher why this variant of solution is correct.Please explain me how to gone to such solution logically or vhere I can read about it. Thank you for advance! Very easy:) just print numbers 1,2,...,n then n+1,2*n+1,...,m*n+1 Re: Solution Послано vanla 17 окт 2011 22:27 You may write random numbers and get AC@) Re: Solution it's not true. random numbers can't be always true. In fact sometimes random numbers can be equal.in statement is's written that equal numbers should not be. And even if won't be equals is possible to catch WA. Sorry for bad Englis.:) Re: Solution cause you have n twice Can someone explain me why following solution incorrect? 1,2,3,..,n n, 2*n+1, 3*n+2, .. m*n+m-1 I got WA#1 with it. |