Ad
  • Custom User Avatar

    Surely [[]] is a 1x0 matrix?

    In any case, this input violates the constraint in the description.

    Matrix = array of n length whose elements are n length arrays of integers.

    [[]] has a length of 1, but its element has a length of 0.

  • Custom User Avatar

    thanks for bringing this up. actually a 0 dimensional matrix because it fails to contain any values. it is an empty shell; a random tests byproduct for frustration purposes. would help to see this specific empty matrix in standard tests.

  • Custom User Avatar

    The error message is wrong, but the test is correct. build_one_two_three().next.next.next is None, and it has no data attribute.

  • Custom User Avatar

    I think I simply indicated a possibility for those (and there are) who don't want to calculate integrals.

  • Custom User Avatar

    I can't really spot the change :P Other than the fact that my code now times out. I guess you added more tests?

    Edit: it's hard for me to believe how much faster this other method is...