Games

In the Mayan calendar there were 20 days (called Kins) in a Uinal, 18 Uinals in a Tun, 20 tuns in a Katan and 20 Katans in a Baktun.   We write our dates in the order day, month and then year,  The Maya write their dates in reverse order giving the baktun, katun, tun, uinal then kin. The Mayan date 13-20-7-16-3 corresponds to 1-1-2000.  Write a program which converts between the Mayan calendar and our own.

Resources

Taken from the 2006 Informatics Olympiad.

Click here to view all the competition tasks.

© British Informatics Olympiad

About CDB 361 Articles
Self-Employed Software Developer, Spark, Property Management, Hobby Forestry, Ex-Teacher, Engineering - Wood, Metal, Electrics & Computers. Outdoors - Walk, Cycle, Kitesurf,

Be the first to comment

Leave a Reply

Your email address will not be published.


*


This site uses Akismet to reduce spam. Learn how your comment data is processed.