We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Ema's Supercomputer
Ema's Supercomputer
Sort by
recency
|
321 Discussions
|
Please Login in order to post a comment
Ema's Supercomputer solution in Python
Here is problem solution in python java c++ c and Javascript - https://programmingoneonone.com/hackerrank-emas-supercomputer-problem-solution.html
/* Helper functions. */ public static String point(int x, int y) { return String.format("%d,%d", x, y); } public static String point(int[] p) { return String.format("%d,%d", p[0], p[1]); } public static int[] add(int[] a, int[] b) { return new int[]{a[0] + b[0], a[1] + b[1]}; }