| Title |
User |
Message |
Place |
Date Posted |
| Re: Re: Flushing |
jargon |
writeln(11); flush(output); |
smac082p3 |
Jan 24, 2009 - 10:23:11 pm UTC |
| Re: Flushing |
frenzybenzy |
can i see a example of flushing? please output '11' with flushing. in pascal. im a bit confused |
smac082p3 |
Jan 24, 2009 - 10:19:21 pm UTC |
| Re: Re: Re: Number limit? |
Bob |
there is a pascal compiler on the judge that allows u to declare an array of 100000 longints without exceeding the memory limit |
ccc96s5 |
Jan 24, 2009 - 12:51:49 am UTC |
| Re: Re: Number limit? |
frenzybenzy |
But on Tp it wonk work with 100000. PS.curses |
ccc96s5 |
Jan 24, 2009 - 12:51:13 am UTC |
| Re: Number limit? |
Bob |
just do longint P.S. finished this problem before u |
ccc96s5 |
Jan 23, 2009 - 11:56:57 pm UTC |
| Number limit? |
frenzybenzy |
for every element in the sequence, what is the limit. I was wondering if integer would work... |
ccc96s5 |
Jan 23, 2009 - 11:42:47 pm UTC |
| Re: Warning |
bleung91 |
why would you visit this page on a regular basis anyways? |
aplusb |
Jan 23, 2009 - 3:53:26 pm UTC |
| Academic Questions |
DrSane |
This problem is very similar to the first problem that was on my CS 145 final exam at Waterloo. I'm sure almost everyone got 10/10 on it, though. |
ccc96s5 |
Jan 23, 2009 - 4:29:42 am UTC |
| Re: Re: clarification? |
hansonw1 |
This isn't true, it's just a coincidence this works on the test data :P As the problem statement says, the first number can be greater than or equal to - not just equal to. |
ccc96s5 |
Jan 23, 2009 - 2:34:49 am UTC |
| Note on flushing |
bbi5291 |
If you use cout for output, then you can flush output by sending "flush" to cout, hence cout |
General |
Jan 22, 2009 - 10:25:16 pm UTC |