fork download
  1. import java.io.*;
  2. class j {
  3. public static void main(String args[]) throws IOException {
  4. BufferedReader stdin = new BufferedReader(new InputStreamReader(System.in));
  5. String buf;
  6. int i1,i2,i3;
  7. buf = stdin.readLine();
  8. i1 = Integer.parseInt(buf);
  9. buf = stdin.readLine();
  10. i2 = Integer.parseInt(buf);
  11. i3 = i1 + i2;
  12. System.out.println("Output is "+i1+" + "+i2+" = "+i3);
  13. }
  14. }
Runtime error #stdin #stdout 0.01s 4980KB
stdin
Standard input is empty
stdout
Standard output is empty