Standard methods for input stream from console, serveing for OJ practice

Several types:

  1. Single-digit of numeric value input
  2. One-by-one numeric values input [numeric array, split by blank]
  3. Multiple lines of numeric values or component input mixed with strings
  4. Large-scale data input
    All the data should be given in the console and file-based method is optional to consider as well