Restrictions for the output lines

Restrictions for the output lines

According to the rules input file lines will contain 20 integers per text line;
is there any restrictions of the similar kind for the output lines?
7 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

We do not have any restrictions that would be needed for output file. So, you can assume none.

Thanks
-Rama

no restrictions?

could we output the results in random order?
for example:

set3
..........................

set1
..........................

set2
..........................

could we do it like this?

Yes, that would work as long as you indicate the sets for which the solution corresponds.

Thanks
-Rama

Quoting Rama Kishan Malladi (Intel)

Yes, that would work as long as you indicate the sets for which the solution corresponds.

Thanks
-Rama

But the problem clearly states "Order of output sets must be the same as the input set order".

I for one have invested a fair bit of time making sure this restriction was met. Removing this restriction now, i think, would be unfair...

I agree with akki 100%.

In addition, the rule should not be changed at the very end.

Hi,
I am extremely sorry. My oversight and I indicated that order doesn't have to be maintained. I take it back. So, timminn, you have to maintain order. Thank you Akki for pointing out.

Thanks
-Rama

Leave a Comment

Please sign in to add a comment. Not a member? Join today