Sichuan University Programming Contest 2005 Final

C: Multiplying Matrices