I haven't studied Linear Algebra yet, but I did like how elegant your solution was. Nice job!

Yeah, I think the other solutions are different forms of this one. It'd be harder to figure out if you haven't studied linear algebra yet.

Is this a common method of solving this type of problem?

In Python I get the error. 261998765738225392543588155392 should equal 261998765738225395043321056933 So for small numbers is works pretty good. How can I handle bit int in python?

More of a challenge in Mathmatics than Programming.

why use bigint? i'm just know why?

Why are the arguments signed and the result unsigned?..

signed

unsigned

Yes, see the issue below.

Does C++ has overflow issue?

That's intended.

When I hit run, only 2 random cases are tested?

C translation. Please, review and approve.

@Trouv, please, approve this fork.

I haven't studied Linear Algebra yet, but I did like how elegant your solution was. Nice job!

Yeah, I think the other solutions are different forms of this one. It'd be harder to figure out if you haven't studied linear algebra yet.

Is this a common method of solving this type of problem?

In Python I get the error.

261998765738225392543588155392 should equal 261998765738225395043321056933

So for small numbers is works pretty good. How can I handle bit int in python?

More of a challenge in Mathmatics than Programming.

why use bigint? i'm just know why?

Why are the arguments

`signed`

and the result`unsigned`

?..Yes, see the issue below.

Does C++ has overflow issue?

That's intended.

When I hit run, only 2 random cases are tested?

C translation. Please, review and approve.

@Trouv, please, approve this fork.

## Loading more items...