-
-
After earing on the radio a problem that was challenging a listener, I found a solution on the internet from the newsgroup sci.math.recreational.
But, a bubble passed in my head and I developped a little software that uses permutation and variations to handle this kind of problem, that uses numbers and basic operations (+,-,* and /).
The result is done in C#, using .NET 1.1 and can be found at CombinaisonFinder.exe.
A command line tool that handle two parameters :
the first, a series of numbers without space or comma, default: 1567
the second, the operations, default: +-*/
Like almost all developper, I am now in the programmer's golden platting phase. So, I will post a second software, that try to findout the hardest equations... ;)
-f.
-
-
Check out this Microsoft KB article...
http://support.microsoft.com/kb/829982
-f.
-
-
Many persons fix this problem by openning the file with binary content. My solutions in simplier, instead of openning the file with
StreamReader rdr = File.OpenRead(filname)
use
StreamReader rdr = New StreamReader(filename, System.Text.Encoding.Default)
-f.