Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Sokoban puzzles auto generator
- // https://dxdy.ru/post1541620.html#p1541620
- // 2021 dec B@R5uk
- public class DoubleComp {
- public static boolean isGreater (int a1, int b1, int a2, int b2) {
- return a1 > b1 || a1 == b1 && a2 > b2;
- }
- public static boolean isGreater (short a1, short b1, short a2, short b2) {
- return a1 > b1 || a1 == b1 && a2 > b2;
- }
- }
Add Comment
Please, Sign In to add comment