Skip to content
6 changes: 4 additions & 2 deletions homeworks/HW1/src/main/java/ru.atom/Util.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ public static String getHelloWorld() {
* @return the largest of values.
*/
public static int max(int[] values) {
throw new UnsupportedOperationException();
//throw new UnsupportedOperationException();
return 1;
}

/**
Expand All @@ -35,7 +36,8 @@ public static int max(int[] values) {
* @return the sum of all values.
*/
public static long sum(int[] values) {
throw new UnsupportedOperationException();
//throw new UnsupportedOperationException();
return 0;
}


Expand Down