summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormzuenni <michi.zuendorf@gmail.com>2024-08-25 19:43:11 +0200
committermzuenni <michi.zuendorf@gmail.com>2024-08-25 19:43:11 +0200
commit00b01a954304e50904de97b25639c535e16f259e (patch)
tree8173754d473bfe32c0c65e8b4f8584c4d9f15d67
parente6c2810802d0faf3d0fa58c1170ded42b21d3338 (diff)
no spaces
-rw-r--r--content/math/shortModInv.cpp2
-rw-r--r--content/template/template.cpp4
-rw-r--r--content/tests/gcc5bug.cpp2
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];
};