65 Reputation

8 Badges

12 years, 275 days

MaplePrimes Activity

These are answers submitted by denitsastaicova

I have 4GB of Ram and I still couldn't open the file at all.

you know, I was thinking of something like this, but when I checked the maple help, it gave me different use for the while statement. I'll try your way, it might be better then mine. Anyway, I'm glad I have now two solutions instead of zero that was stalling me for the whole past week. Thanks...
Scott, Could you re-post your code what you wrote with > and < (here are the HTML codes-you can find them in the "Input format") for the greater and less signs,cuz this way it's not very understandable for me at least... What I did was to put one independent counter like for m from 1 while (a <1) do a:=a+p if ... end do; Meaning I manipulate the step outside the cycle, and the counter (m) serve for other purposes. It seems to be working. I think it's more or less the same as what I supposed, though it's not very visible :) But the question is why it should be so hard, when it can be simple. If the step is being checked on every repeat and not just memorized in the beginning.
Page 1 of 1