Skip to content

Commit

Permalink
Use DString
Browse files Browse the repository at this point in the history
  • Loading branch information
lerno committed Mar 5, 2023
1 parent efbe0b2 commit f1be297
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions day17.c3
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ macro bool StateCache.equals(StateCache* cache, StateCache other)
return true;
}

fn VarString load_jets()
fn DString load_jets()
{
File f;
f.open("jets.txt", "rb")!!;
Expand Down Expand Up @@ -272,7 +272,7 @@ fn void solve(String winds, long rocks)

fn void main()
{
VarString s = load_jets();
DString s = load_jets();
defer s.destroy();
solve(s.str(), 2022);
solve(s.str(), 1000000000000i64);
Expand Down

0 comments on commit f1be297

Please sign in to comment.