Ad
  • Custom User Avatar

    Input size (matrix size and entries size) should be mentioned, because int is too small to store diagonal products in general. Overflow doesn't happen in the tests, but this is a big concern in general.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution