Results of Comment Search
Title | User | Message | Date Posted |
---|---|---|---|
Re: Re: Flushing | DrSane | What does flushing do? Short Answer: It forces the buffer to be printed. Long Answer: The OS doesn't always print something when you want it to. Sometimes, it accumulates your output in a buffer unti... | Jan 17, 2009 - 5:56:33 am UTC |
Flushing | hansonw1 | Flushing is important! Otherwise you'll get TLE automatically. For C/C++ users fflush(NULL) after cout/printf (as stated) is fine. Pascal users should put flush(output) after writeln(...). | Jan 17, 2009 - 1:36:44 am UTC |