The statement is the same as with Dice Pairs (2): we run several experiments and, in each experiment, we have been throwing a pair of dice repeatedly, recording the outcome.
However, now there is no zero finishing the data for each experiment; instead, each experiment comes in a single line of the input. Again, you must write a program that, for each such experiment, reads the sequence of outcomes and prints out the histogram.
Input is a sequence of experiments. Each experiment consists of the outcomes of the corresponding dice throws, all of them provided in a single line.
For each experiment, print the histogram under the same conditions as in Dice Pairs (1) and (2). Print a line with five dashes between each two histograms — note that this condition is not the same as in Dice Pairs (2).
Author: José Luis Balcázar
Generation: 2026-01-25T15:49:43.470Z
© Jutge.org, 2006–2026.
https://jutge.org