Quipus (the birth of writing numbers) X47046


Statement
 

pdf   zip

html

Input Your program should read an input Quipu-matrix and help the quipucamayocs ("quipu specialists") to do some arithmetic.

Output Corresponding to the numbers 1001, 43 , 321 … so 1001+43+321=1365 …

Public test cases
  • Input

    1s X X
    X X 3s
    X 4s 2s
    E 3L E
    #
    

    Output

    1s X X 1s 
    X X 3s 3s 
    X 4s 2s 6s 
    E 3L E 5L 
    
  • Information
    Author
    HP CodeWars
    Language
    English
    Official solutions
    Python
    User solutions