diff options
Diffstat (limited to 'content')
| -rw-r--r-- | content/math/shortModInv.cpp | 2 | ||||
| -rw-r--r-- | content/template/template.cpp | 4 | ||||
| -rw-r--r-- | content/tests/gcc5bug.cpp | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/content/math/shortModInv.cpp b/content/math/shortModInv.cpp index f696cce..cf91ca0 100644 --- a/content/math/shortModInv.cpp +++ b/content/math/shortModInv.cpp @@ -1,3 +1,3 @@ ll multInv(ll x, ll m) { // x^{-1} mod m - return 1 < x ? m - multInv(m % x, x) * m / x : 1; + return 1 < x ? m - multInv(m % x, x) * m / x : 1; } diff --git a/content/template/template.cpp b/content/template/template.cpp index c9a492c..7430d23 100644 --- a/content/template/template.cpp +++ b/content/template/template.cpp @@ -7,9 +7,9 @@ using namespace std; using ll = long long; using ld = long double; - + void solve() {} - + int main() { cin.tie(0)->sync_with_stdio(false); cout << setprecision(16); diff --git a/content/tests/gcc5bug.cpp b/content/tests/gcc5bug.cpp index f49603e..6aaeea9 100644 --- a/content/tests/gcc5bug.cpp +++ b/content/tests/gcc5bug.cpp @@ -1,4 +1,4 @@ //https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68203 struct A { - pair<int, int> values[1000000]; + pair<int, int> values[1000000]; }; |
