I'm guess this does not have to be cross-platform?
If not, I'll get something to you probably by tomorrow.
I'm guess this does not have to be cross-platform?
If not, I'll get something to you probably by tomorrow.
1billion is possible. I'm not sure why others are having problems with RAM.
I can count to a googol no problem, but when you try to save the file (or any other way of saving) I get the 'problem' of not enough memory. as you could see in my previous post it cuts off at about 310M for me, with 2GB of ram.
on topic:
anyways, I'll try to compile an .exe for you to run, but it might take some time to get a 100% user friendly program, if you know what I mean.
good luck everyone
[edit]:
Mail sent...
Ok, stupid me... I didn't get the time for when i started it but I did get a few times if anyone feels like figuring it out.
11:22pm (day 1) - Count was around 44,000
6:00am (day 2) - Count was around 391,000
4:00pm (day 2) - Count was around 917,000
5:39pm (day 2) - Count finished.
This is for 1 Million on a TI-83plus.
-CollinstheClown
1Bill isn't a problem, heck I've done it. (With one of the worst programming languages ever)
I sent mail. My java is so slow. 84 Seconds for 5 million. My VB6 is faster. Still optimizing, trying to figure out the best way to do this.
Have you checked out the front page lately?
Projects:
Moe's Tavern | Sponsored by: Mimo Monitors, Crucial, Thermaltake
Book Of Knowledge
Hmm, probably depends on how you save your numbers. Java could be slower than VB6, but I think C or C++ should be even faster than basic... since I don't have a lot of experience in C I won't enter for that language, but I think there's a challenge for those who can program in C...
also in my previous post I said I could easily count to a googol when I don't store the numbers... well, that's not entirely true... In my program I use the 'long integer' variable, so I can only count to 18,446,744,073,709,551,615 since it is stored in just 8 bytes in the memory... There's probably a workaround for that too, but I don't have to know