You are viewing a single comment's thread. Return to all comments →
Arrays.stream(scanner.nextLine().split(" ")).mapToLong(s -> Long.parseLong(s)).sum();
Seems like cookies are disabled on this browser, please enable them to open this website
A Very Big Sum
You are viewing a single comment's thread. Return to all comments →
Arrays.stream(scanner.nextLine().split(" ")).mapToLong(s -> Long.parseLong(s)).sum();