In the second test, there are four players and five game results.
A delightful series of problems. I especially like the tests with real-world examples.
Fixed. Thank you Andrew.
Hum, real life doesn't round up scores. And usually our rating is updated after each match (as it is in cody).
How to find the position of an element in a vector without using the find function
Tell me the slope
Return the first and last characters of a character array
Make a vector of prime numbers
Sum of big primes without primes
Longest Collatz Sequence
Two functions (to be sure)
Recycled Numbers (CodeJam Qualification Round 2012)
Rank of magic square (for beginners)
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office