I hereby claim:
- I am anon10w1z on github.
- I am cbugwadia32 (https://keybase.io/cbugwadia32) on keybase.
- I have a public key ASCrqsWrSR_GYF_VKILmSfju4zlJbct4wPCzuJG7qr0RUQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| import subprocess | |
| import os | |
| open('pages.txt', 'a').close() | |
| if not os.path.exists('pages'): | |
| os.makedirs('pages') | |
| if not os.path.exists('output'): | |
| os.makedirs('output') | |
| output_pages = os.path.join('output', 'pages') | |
| if not os.path.exists(output_pages): |
| package io.anon10w1z.periodictable; | |
| public class ElementData { | |
| public static Element emptyElement = new Element(); | |
| private static int TOTAL_ELEMENTS = 118; | |
| public static Element[] elements = new Element[TOTAL_ELEMENTS]; | |
| static { | |
| int i; | |
| for (i = 0; i < TOTAL_ELEMENTS; ++i) { |
| public class ArraySums { //question 1 | |
| public static int arraySum(int[] arr) { //part a | |
| int arraySum = 0; | |
| for (int i : arr) | |
| arraySum += i; | |
| return arraySum; | |
| } | |
| public static int[] rowSums(int[][] arr2D) { //part b | |
| int[] rowSums = new int[arr2D.length]; |