-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
113 lines (112 loc) · 3.7 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="title" content="Advent of Code Solver" />
<meta
name="description"
content="A free and open-source Advent of Code that runs in your browser."
/>
<meta
name="keywords"
content="advent of code, advent of code solver, solver, aoc, aoc solver"
/>
<meta property="og:type" content="website" />
<meta
property="og:url"
content="https://delightful-honeysuckle-cactus.glitch.me/"
/>
<meta property="og:title" content="Advent of Code solver" />
<meta
property="og:description"
content="A free and open-source Advent of Code that runs in your browser."
/>
<meta
property="og:image"
content="https://cdn.glitch.global/afb7031d-ee3e-4986-8551-533d412c4c36/9ff55150-6cc2-4f5b-8850-bde85317b85a.Untitled.png?v=1734653870295"
/>
<title>AOC Solver</title>
<link rel="stylesheet" href="/style.css" />
<link
rel="shortcut icon"
href="https://cdn.glitch.global/afb7031d-ee3e-4986-8551-533d412c4c36/9ff55150-6cc2-4f5b-8850-bde85317b85a.Untitled.png?v=1734653870295"
/>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/index.js"></script>
<script src="/script.js" type="module" defer></script>
</head>
<body>
<div id="content">
<div>
<h1>Advent of Code Solver</h1>
<input type="file" id="input-file" style="display: none" />
<div>
<label for="data">Input problem data:</label> (or
<button id="file-upload">Upload from File</button>)
</div>
<textarea
id="data"
placeholder="Problem data..."
rows="20"
spellcheck="false"
></textarea>
<div id="select">
<label for="day">Select problem:</label>
<select id="year"></select>
<select id="day"></select>
<select id="part"></select>
</div>
<div>
<button id="run">Run!</button>
<button id="runex">Example check</button>
</div>
<div>
<button id="runall">Run all!</button>
<button id="runexall">Example check all</button>
</div>
<div>
Result: <span id="result">???</span>
<span id="update" class="maybe"></span>
</div>
<div>Took <span id="time">???</span></div>
<div id="error" class="failed"></div>
</div>
<div>
<table id="multi">
<thead>
<tr>
<td colspan="18"><span id="title"></span> Solutions</td>
</tr>
<tr>
<th scope="col">Day</th>
<th scope="col">Part</th>
<th scope="col">Status</th>
<th scope="col">Answer</th>
<th scope="col">Time</th>
<th scope="col">Part</th>
<th scope="col">Status</th>
<th scope="col">Answer</th>
<th scope="col">Time</th>
<th scope="col">Day</th>
<th scope="col">Part</th>
<th scope="col">Status</th>
<th scope="col">Answer</th>
<th scope="col">Time</th>
<th scope="col">Part</th>
<th scope="col">Status</th>
<th scope="col">Answer</th>
<th scope="col">Time</th>
</tr>
</thead>
<tbody id="stuff"></tbody>
</table>
</div>
</div>
<footer>
<a href="https://adventofcode.com/">Advent of Code </a> •
<a href="https://glitch.com/edit/#!/delightful-honeysuckle-cactus"
>Source code</a
>
</footer>
</body>
</html>