Pharaoh Puzzle X60291


Statement
 

pdf   zip

html

Input The input of the program is one line with 36 integers, between 1-6 for the symbols, 0 for an empty space, and separated with white spaces. Each set of 6 values represents a table row.

Output The output is 36 integer between 1-6, separated by white spaces.

Public test cases
  • Input

    0 3 0 2 4 5 0 4 2 1 0 6 2 5 3 4 6 1 4 1 6 5 2 3 3 2 5 6 1 4 1 0 4 3 5 2
    

    Output

    6 3 1 2 4 5 5 4 2 1 3 6 2 5 3 4 6 1 4 1 6 5 2 3 3 2 5 6 1 4 1 6 4 3 5 2
    
  • Input

    0 0 1 3 5 2 0 5 0 1 0 0 0 0 0 5 6 1 0 1 0 2 3 4 4 3 2 0 1 5 0 0 5 4 0 3
    

    Output

    6 4 1 3 5 2 2 5 3 1 4 6 3 2 4 5 6 1 5 1 6 2 3 4 4 3 2 6 1 5 1 6 5 4 2 3
    
  • Information
    Author
    HP CodeWars
    Language
    English
    Official solutions
    C++
    User solutions
    C++ Python