This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
title Color Rush | |
author FrankzeeTank | |
level_select | |
continue_is_level_select | |
sprite_size 8 | |
font_size 8 | |
verbose_logging | |
mouse_left MouseClick |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
title Zeeoban | |
author Francis McKee | |
level_select | |
continue_is_level_select | |
sprite_size 8 | |
font_size 8 | |
verbose_logging | |
mouse_left MouseClick |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Main { | |
public static void main(String[] args) { | |
int a = 108; | |
int b = 48; | |
System.out.println("GCD of a and b is " + calcGcd(a, b)); | |
} | |
// method to calculate the GCD | |
public static long calcGcd(int a, int b) { | |
if (b != 0) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.*; | |
public class Main{ | |
private int[] data; | |
private void swap(int i, int j) { | |
int temp; |