Skip to content

Commit 0464e94

Browse files
committed
2023/01 with regex
1 parent ae6d2b7 commit 0464e94

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

2023/Day01/Solution.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ select ParseMatch(first.Value) * 10 + ParseMatch(last.Value)
2020
).Sum();
2121

2222
int ParseMatch(string st) => st switch {
23-
"" => 0, // no match
2423
"one" => 1,
2524
"two" => 2,
2625
"three" => 3,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy