ph0bie
: ph0bie
ph0bie |
This solution is written in PHP.
The solution is quite simple. Just run "php -f solution.php". If you wanna listen to some great music search the output on google/youtube ;-)
<?php $file = file_get_contents("input.txt"); echo "Hallo ".$file;
This solution is written in GO.
The solution is quite a simple copy & paste from https://gobyexample.com/ as I never did anything in/with GO. So let’s see :-)
You can execute it with "go run hello-world.go" or "./hello-world"
package main import "fmt" func main() { fmt.Println("hello world, let's GO!") }
This solution is written in tcl (hail to tcl).
The solution is as simple as possible. Execute it with >tclsh helloworld.tcl
puts "Hello, and welcome to the world of TCL!"
This solution is written in PHP. It is the solution for the first day of AoC: The Tyranny of the Rocket Equation
The calculation to get the required fuel per module is straight forward and done in day01-1.php
include::day01-1.php
There was a beautiful christmas market in our little town………but now I did it :-)
Took me hours to find good variable names….well, just "php -f day01-2.php" to see the result all of you still moght know.
include::day01-2.php