Magic squares X87184


Statement
 

pdf   zip

html
Public test cases
  • Input

    8 3 4 
    1 5 9 
    6 7 2 
    #
    

    Output

    This is a magic square
    
  • Input

    8 13 2 11
    1 12 7 14
    15 6 16 4
    10 3 9 5
    #
    

    Output

    This is not a magic square
    
  • Information
    Author
    HP Codewars BCN
    Language
    English
    Official solutions
    C++
    User solutions
    C++ Python