mirror of
https://github.com/Zormm/Advent-Of-Code-2022.git
synced 2026-02-26 07:26:51 +01:00
27 lines
778 B
Java
27 lines
778 B
Java
import java.io.IOException;
|
|
import java.io.RandomAccessFile;
|
|
|
|
public class main {
|
|
public static void main(String[] args) throws IOException {
|
|
RandomAccessFile file = new RandomAccessFile("input.txt", "r");
|
|
String str;
|
|
|
|
//Part 1
|
|
System.out.print("Part 1: ");
|
|
|
|
while ((str = file.readLine()) != null) {
|
|
System.out.println(str);
|
|
|
|
simulateRobotWithBlueprints()
|
|
}
|
|
//Part 2
|
|
System.out.print("Part 2: ");
|
|
}
|
|
|
|
public int simulateRobotWithBlueprints(int costOfOreRobot, int costOfClayRobot, int costOfObsidianRobot, int costOfGeodeRobot, int timeInMinutes) {
|
|
int maximumNumberOfOpenedGeodes = 0;
|
|
|
|
return maximumNumberOfOpenedGeodes;
|
|
}
|
|
}
|