Problem 45380. The End of the World
given a date -- represent it in the Maya long count system.
https://en.wikipedia.org/wiki/Maya_calendar
https://maya.nmai.si.edu/calendar/maya-calendar-converter
For example,
date = [2020 03 24] Maya = '13.0.7.6.10'
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers37
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6365 Solvers
-
Find relatively common elements in matrix rows
2087 Solvers
-
Calculate the Levenshtein distance between two strings
1454 Solvers
-
Sum of diagonal of a square matrix
1589 Solvers
-
Longest run of consecutive numbers
5836 Solvers
More from this Author165
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!