Soccer - TOTO - MATLAB Cody - MATLAB Central

Problem 764. Soccer - TOTO

Difficulty:Rate

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.47% Correct | 15.53% Incorrect
Last Solution submitted on May 06, 2025

Problem Comments

Solution Comments

Show comments
LLMs with MATLAB updated to support the latest OpenAI Models
Large Languge model with MATLAB, a free add-on that lets you access...
2
4

Problem Recent Solvers82

Suggested Problems

More from this Author11

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Go to top of page