My first question is about input and output in the problems. I'm not too clear on how the input/output streams work and how the judge interprets them to decide if you have the right answer or not. Does the judge simply send all output to a file and check the contents of that file for correctness? Or does it mix the input in with it? The reason I ask is that sometimes for some questions I find it easier to solve an individual set of data right away and output it before the next set is input rather than waiting for all input and then solving it (also this means i can cut down on my multi-dimensional arrays). When I do this however, the output doesn't look very nice on my screen because it's all mixed in with the input. Is this ok?
My next question is regarding online contests. I've found the page on the site that lists upcoming contests, but I don't know how to join them or how to view the problems from the contest (during or after the contest). Also, are these contests meant to be done by individuals or teams or both? If it can be done in teams, how can you join with a team?
Any answers would be greatly helpful, thanks!
