Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
# !/usr/bin/env julia | |
using DelimitedFiles: readdlm | |
# inputfile = readdlm("./dc.in") | |
inputfile = readdlm("./test.in") | |
rows, cols, alts = inputfile[1:1, 1:3] | |
itarget_cells, cov_r, iballoons, turns = inputfile[2:2, 1:4] | |
start = inputfile[3:3, 1:2] # [row col] |
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
# !/usr/bin/env julia | |
using DelimitedFiles: readdlm | |
# inputfile = readdlm("./dc.in") | |
inputfile = readdlm("./test.in") | |
irows, islots, iunavail, ipools, iserver = inputfile[1:1, :] | |
runavail = 2:(iunavail+1) | |
rserver = (iunavail+2):size(inputfile)[1] |
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
__author__ = "6984890: Mircea Ilie Ploscaru" | |
# Aufgabe 3.4: Kontrollstrukturen 2, fröhliche Zahlen | |
TEMP = 19 | |
def square(num): | |
return num**2 | |
# Break the number in its decimal places, | |
# and return the square of all decimals |
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
### Keybase proof | |
I hereby claim: | |
* I am tzekid on github. | |
* I am tzekid (https://keybase.io/tzekid) on keybase. | |
* I have a public key whose fingerprint is 78AE DE93 1F17 0852 49B2 545C A1BE 0F7C 8704 E54C | |
To claim this, I am signing this object: |