Cody

Problem 764. Soccer - TOTO

How many different outcomes are there in a soccer-TOTO with n games?

For each game there are three results: win - loss - equal. So for example with 2 games between team A and B, we can have different outcomes:

A win(1), A loss(-1), A draw(0) for first game and A win(1), A loss(-1), A draw(0) for the next game. Outcomes are like this:

   1  1
   1  0
   1 -1
   0  1
   0  0
   0 -1
  -1  1
  -1  0
  -1 -1

Solution Stats

84.09% Correct | 15.91% Incorrect
Last Solution submitted on Sep 10, 2019

Problem Comments