Lakes, fixes

This commit is contained in:
paulevsGitch 2020-09-25 01:07:46 +03:00
parent 2061a12aff
commit c9326931d3
8 changed files with 191 additions and 24 deletions

View file

@ -52,4 +52,12 @@ public class MHelper {
public static int floor(double x) {
return x < 0 ? (int) (x - 1) : (int) x;
}
public static int min(int a, int b) {
return a < b ? a : b;
}
public static int max(int a, int b) {
return a > b ? a : b;
}
}