View Single Post
  #1  
Old 02-05-2020, 22:43
CodeCracker CodeCracker is online now
VIP
 
Join Date: Jun 2011
Posts: 454
Rept. Given: 27
Rept. Rcvd 398 Times in 129 Posts
Thanks Given: 21
Thanks Rcvd at 1,823 Times in 349 Posts
CodeCracker Reputation: 300-399 CodeCracker Reputation: 300-399 CodeCracker Reputation: 300-399 CodeCracker Reputation: 300-399
LinearDiophantineEq

LinearDiophantineEq: will solve equation a*x+b*y=c
where x and y are integers, nothing special about it.

https://www.techiedelight.com/find-general-solution-linear-diophantine-equation/
https://raw.githubusercontent.com/wandering007/algorithms/master/extended_gcd.cpp
Attached Files
File Type: zip LinearDiophantineEq.zip (4.3 KB, 9 views)
Reply With Quote
The Following User Says Thank You to CodeCracker For This Useful Post:
niculaita (02-18-2020)