ENG  RUS Timus Online Judge
Online Judge
Problems
Authors
Online contests
Site news
Webboard
Problem set
Submit solution
Judge status
Guide
Register
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

## Discussion of Problem 1015. Test the Difference!

Wrong sample or output format
Posted by Geno Roupsky 5 Oct 2000 00:10
The output format says:
Print Q
And then Print Q lines of the form
NumSheme Count

But the sample output is written
2
1 2
3
Why there isn't any '1' after the 3.

And what does the sentence:
'Numbers in each line of the output must be sorted in
increasing order' mean? How can you sort NumSheme and Count
when it is said that they should be ano after another in a
strict way?
Re: Wrong sample or output format
Posted by Andrew Rogers 5 Oct 2000 11:14
> The output format says:
> Print Q
> And then Print Q lines of the form
> NumSheme Count
>
> But the sample output is written
> 2
> 1 2
> 3
> Why there isn't any '1' after the 3.
>
> And what does the sentence:
> 'Numbers in each line of the output must be sorted in
> increasing order' mean? How can you sort NumSheme and
Count
> when it is said that they should be ano after another in
a
> strict way?

The output is wrong - but not in the way you describe.

All three die are different - note 1 dot opposite 2 dots, 3
dots and 4 dots for the three die respectively.

3
1
2
3

This is the number of different die types followed by the
die in each type in increasing order.
Re: Wrong sample or output format
Posted by Pavel Atnashev 5 Oct 2000 14:01
> The output is wrong - but not in the way you describe.
>
> All three die are different - note 1 dot opposite 2 dots,
3
> dots and 4 dots for the three die respectively.
>
> 3
> 1
> 2
> 3
>
> This is the number of different die types followed by the
> die in each type in increasing order.

No, sample output is correct. Sample input is wrong.
Fixed.
Re: Wrong sample or output format
Posted by ManWithoutFace (USU) 5 Oct 2000 14:08
'Next Q lines should contain the numbers of dice with the
same scheme. '
Re: Wrong sample or output format
Posted by glencui 3 Jun 2012 08:05
It is the numbers, not the count.