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 1731. Dill

Roland Solution [12] // Problem 1731. Dill 17 Oct 2009 21:15
Very easy:)
just print numbers 1,2,...,n
then n+1,2*n+1,...,m*n+1
fuch_prog_er Re: Solution [1] // Problem 1731. Dill 23 Oct 2009 15:28
Sorry,can you explain why...

Thank you.
Roland Re: Solution // Problem 1731. Dill 26 Oct 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...
Zefick Re: Solution [2] // Problem 1731. Dill 19 Mar 2010 10:47
or
1, 2, 3, ... n
100, 200, 300, m*100
:)
wizzi Re: Solution [1] // Problem 1731. Dill 7 Apr 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.
mberdyshev Re: Solution // Problem 1731. Dill 16 Aug 2016 00:44
cause you have n twice
wizzi wrote 7 April 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.
dmytrocx75 Re: Solution // Problem 1731. Dill 20 Apr 2010 00:39
_


Edited by author 20.04.2010 00:42
dmytrocx75 Re: Solution [4] // Problem 1731. Dill 20 Apr 2010 00:40
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!
Roland wrote 17 October 2009 21:15
Very easy:)
just print numbers 1,2,...,n
then n+1,2*n+1,...,m*n+1
dmytrocx75 Re: Solution [3] // Problem 1731. Dill 20 Apr 2010 01:40
Everithing is done! Sorry for my mindless please.
vanla Re: Solution [2] // Problem 1731. Dill 17 Oct 2011 22:27
You may write random numbers and get AC@)
Stiller Re: Solution [1] // Problem 1731. Dill 18 Nov 2011 11:09
How?
amirani Re: Solution // Problem 1731. Dill 11 Jan 2012 19:24
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.:)
dmytrocx75 Re: Solution // Problem 1731. Dill 20 Apr 2010 03:56
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!
Roland wrote 17 October 2009 21:15
Very easy:)
just print numbers 1,2,...,n
then n+1,2*n+1,...,m*n+1