We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Mathematics
- Geometry
- Solve Equations
- Discussions
Solve Equations
Solve Equations
Sort by
recency
|
7 Discussions
|
Please Login in order to post a comment
I don't why there is Run Time ERROR (for higher values of a,b,c) even in time complexicity O(n).
This is not a geometry exercise
Hi,
There seems to be something wrong with this problem :
The linear diophantine equation a*x+b*y=c hasn't always integer solutions, if no constraint at all is imposed to a, b, and c.
The following wikipedia article (in french) explains it :
linear diophantine equation (french)
Sorry, but the article on Wikipedia is only available in French.
Best regards
can anybody give some hints?
I think there is another error in the testcases.
Testcase 2
Testcase 3