aboutsummaryrefslogtreecommitdiff
path: root/2022/day-02/day-02.ipynb
diff options
context:
space:
mode:
Diffstat (limited to '2022/day-02/day-02.ipynb')
-rw-r--r--2022/day-02/day-02.ipynb16
1 files changed, 8 insertions, 8 deletions
diff --git a/2022/day-02/day-02.ipynb b/2022/day-02/day-02.ipynb
index d9dcd72..13b9986 100644
--- a/2022/day-02/day-02.ipynb
+++ b/2022/day-02/day-02.ipynb
@@ -18,7 +18,7 @@
},
{
"cell_type": "code",
- "execution_count": 7,
+ "execution_count": 1,
"metadata": {
"vscode": {
"languageId": "racket"
@@ -39,7 +39,7 @@
},
{
"cell_type": "code",
- "execution_count": 8,
+ "execution_count": 2,
"metadata": {
"vscode": {
"languageId": "racket"
@@ -60,7 +60,7 @@
},
{
"cell_type": "code",
- "execution_count": 9,
+ "execution_count": 3,
"metadata": {
"vscode": {
"languageId": "racket"
@@ -77,7 +77,7 @@
" (match* (them me)\n",
" [(x x) 'draw]\n",
" [(x y) #:when (eq? y (winning-rounds x)) 'win]\n",
- " [_ 'lose]))"
+ " [(_ _) 'lose]))"
]
},
{
@@ -91,7 +91,7 @@
},
{
"cell_type": "code",
- "execution_count": 10,
+ "execution_count": 4,
"metadata": {
"vscode": {
"languageId": "racket"
@@ -107,7 +107,7 @@
"13809"
]
},
- "execution_count": 10,
+ "execution_count": 4,
"metadata": {},
"output_type": "execute_result"
}
@@ -131,7 +131,7 @@
},
{
"cell_type": "code",
- "execution_count": 11,
+ "execution_count": 5,
"metadata": {
"vscode": {
"languageId": "racket"
@@ -147,7 +147,7 @@
"12316"
]
},
- "execution_count": 11,
+ "execution_count": 5,
"metadata": {},
"output_type": "execute_result"
}