View Single Post
  #1  
Old 02-05-2020, 22:43
CodeCracker CodeCracker is offline
VIP
 
Join Date: Jun 2011
Posts: 1,004
Rept. Given: 87
Rept. Rcvd 687 Times in 294 Posts
Thanks Given: 83
Thanks Rcvd at 4,090 Times in 785 Posts
CodeCracker Reputation: 500-699 CodeCracker Reputation: 500-699 CodeCracker Reputation: 500-699 CodeCracker Reputation: 500-699 CodeCracker Reputation: 500-699 CodeCracker Reputation: 500-699
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)