MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

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

26 correct solutions
7 incorrect solutions

Last solution submitted on Jun 09, 2015

3 Comments