Skip to content

Commit

Permalink
Fit into 24 pages
Browse files Browse the repository at this point in the history
  • Loading branch information
thepluck committed Oct 28, 2024
1 parent fd79b5d commit 160379a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion content/number-theory/ModPow.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#pragma once

const ll mod = 1000000007; // faster if const

ll modpow(ll b, ll e) {
ll ans = 1;
for (; e; b = b * b % mod, e /= 2)
Expand Down
1 change: 0 additions & 1 deletion content/various/FastInput.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ inline char gc() { // like getchar()
}
return buf[bc++]; // returns 0 on EOF
}

int readInt() {
int a, c;
while ((a = gc()) < 40);
Expand Down
1 change: 0 additions & 1 deletion content/various/IntervalContainer.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ set<pii>::iterator addInterval(set<pii>& is, int L, int R) {
}
return is.insert(before, {L,R});
}

void removeInterval(set<pii>& is, int L, int R) {
if (L == R) return;
auto it = addInterval(is, L, R);
Expand Down

0 comments on commit 160379a

Please sign in to comment.