online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
import java.util.List; import; import java.util.Arrays; public class Main { private static List<String> genList(String contents) { return Arrays.asList( String.valueOf(new char[3]).replaceAll("\0", contents).split("")); } private static Stream<List<String>> genListStream(String contents) { return Stream.of(genList(contents)).parallel(); } private static Stream<String> genStringListStream(String contents) { return genList(contents).parallelStream(); } public static void main(String[] args) { Stream.of("0123456789".split("")) .parallel() .map(Main::genList) // .flatMap(Main::genListStream) // .flatMap(Main::genStringListStream) .forEach(System.out::println); } }

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text



Program is not being debugged. Click "Debug" button to start program in debug mode.