Taking multiple inputs in a single line

So most of the programming problems given in sites like code jam or code chef ask for taking multiple inputs (that are integers in a single line). So I did I bit of research on it (googled it, actually).

Read the rest of this entry »