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
### A Pluto.jl notebook ### | |
# v0.18.0 | |
using Markdown | |
using InteractiveUtils | |
# ╔═╡ c1d90180-8a47-11ec-2229-a74cca7d8eb2 | |
import Pkg; Pkg.activate() | |
# ╔═╡ 6bbe1c41-8150-4b35-8891-154ac4bce694 |
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
### A Pluto.jl notebook ### | |
# v0.16.1 | |
using Markdown | |
using InteractiveUtils | |
# ╔═╡ 0a227e14-2a08-11ec-19e3-63e2b9f982d8 | |
αρχικό = 100 | |
# ╔═╡ d5540579-07c5-4a8e-9a9a-672b4fb72793 |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta name="viewport" content="width=device-width" /> | |
<title>⚡ Pluto.jl ⚡</title> | |
<meta charset="utf-8" /> | |
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/fonsp/Pluto.jl@0.12.18/frontend/editor.css" type="text/css" /> | |
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/fonsp/Pluto.jl@0.12.18/frontend/treeview.css" type="text/css" /> | |
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/fonsp/Pluto.jl@0.12.18/frontend/hide-ui.css" type="text/css" /> |
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
Created At | Average of Temperature | Average of Pressure | Average of Wind Count | Sum of Water Count | Median Gas Resistance | |
---|---|---|---|---|---|---|
2020-10-20 | 17.013083333333324 | 999.0778166666677 | 80.5583333333333333 | 0 | 24327.0 | |
2020-10-20T01:00:00 | 17.050916666666634 | 999.0659166666682 | 73.2750000000000000 | 0 | 25592.0 | |
2020-10-20T02:00:00 | 17.04249999999998 | 999.0535166666668 | 68.1416666666666667 | 0 | 26345.0 | |
2020-10-20T03:00:00 | 16.931916666666694 | 999.0338666666673 | 80.6333333333333333 | 0 | 26060.0 | |
2020-10-20T04:00:00 | 16.844916666666624 | 999.0158750000005 | 69.0000000000000000 | 0 | 25224.0 | |
2020-10-20T05:00:00 | 16.511750000000013 | 999.007466666666 | 45.0666666666666667 | 0 | 19360.0 | |
2020-10-20T06:00:00 | 16.557749999999988 | 999.0208416666654 | 58.2916666666666667 | 0 | 18789.5 | |
2020-10-20T07:00:00 | 16.615166666666628 | 998.5192833333329 | 103.0166666666666667 | 0 | 26060.0 | |
2020-10-20T08:00:00 | 17.594666666666665 | 999.0289333333325 | 80.1750000000000000 | 0 | 24859.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
### A Pluto.jl notebook ### | |
# v0.12.16 | |
using Markdown | |
using InteractiveUtils | |
# ╔═╡ 7f3cb324-3c05-11eb-156b-f7cbe42681c5 | |
begin | |
import DarkMode | |
DarkMode.Ligatures(true) |
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
%matplotlib inline | |
import matplotlib | |
import numpy as np | |
import matplotlib.pyplot as plt | |
import matplotlib.cm as cm | |
import matplotlib | |
L = 5000 | |
N = 70 |
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
""" We needed to dust the math textbooks! """ | |
from math import sin | |
from math import cos | |
from math import sqrt | |
from math import pi | |
from math import atan | |
def reader(): | |
"""Read the input (desired cube area)""" | |
N = int(input()) |
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
def reader(): | |
""" Read input """ | |
N = int(input()) | |
tcs = [] | |
for i in range(N): | |
input() | |
lst = [int(x) for x in input().split()] | |
tcs.append(lst) | |
return tcs |
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
def reader(): | |
""" read the input from stdin """ | |
N = int(input()) | |
tcs = [] | |
for i in range(N): | |
(l, instructions) = input().split(" ") | |
tcs.append((int(l), instructions)) | |
return tcs | |
def damage(instructions): |
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
Verifying that +pankgeorg is my openname (Bitcoin username). https://onename.com/pankgeorg |