You are viewing a single comment's thread. Return to all comments →
Solution using java8 and streams for speed:
------solution------------
import java.util.; import java.io.;
public class Solution {
public static void main(String[] args) { try (BufferedReader br = new BufferedReader( new InputStreamReader(System.in))) { br.lines().forEach(System.out::println); } catch (IOException ioe) { ; } }
}
Seems like cookies are disabled on this browser, please enable them to open this website
Java Stdin and Stdout I
You are viewing a single comment's thread. Return to all comments →
Solution using java8 and streams for speed:
------solution------------
import java.util.; import java.io.;
public class Solution {
}