From 362079b1b259c90bb98497fc4aaee292338cb7ea Mon Sep 17 00:00:00 2001 From: Kohei Morita Date: Sat, 23 Sep 2023 19:22:08 +0900 Subject: [PATCH 1/5] add -static to mingw option --- problem.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/problem.py b/problem.py index eb0a77769..358856f3f 100644 --- a/problem.py +++ b/problem.py @@ -52,6 +52,8 @@ def compile(src: Path, rootdir: Path, opts: [str] = []): cxxflags_default += ' -Wl,-stack,{}'.format(hex(STACK_SIZE)) # avoid using MinGW's "unique" stdio, which doesn't recognize %lld cxxflags_default += ' -D__USE_MINGW_ANSI_STDIO' + # avoid CI issue, ref https://github.com/yosupo06/library-checker-problems/issues/1031 + cxxflags_default += ' -static' if platform.uname().system == 'Linux' and 'microsoft' in platform.uname().release.lower(): # a workaround for the lack of ulimit in Windows Subsystem for Linux cxxflags_default += ' -fsplit-stack' From 395260de2dd909844cb942569ab4c1a5185849ac Mon Sep 17 00:00:00 2001 From: Kohei Morita Date: Sat, 23 Sep 2023 23:19:50 +0900 Subject: [PATCH 2/5] add include tuple --- datastructure/point_set_range_sort_range_composite/sol/naive.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/datastructure/point_set_range_sort_range_composite/sol/naive.cpp b/datastructure/point_set_range_sort_range_composite/sol/naive.cpp index 808cda703..1ea2c9a9a 100644 --- a/datastructure/point_set_range_sort_range_composite/sol/naive.cpp +++ b/datastructure/point_set_range_sort_range_composite/sol/naive.cpp @@ -1,5 +1,6 @@ #include #include +#include #include using namespace std; From 2cbf846c9d162646c7457f055d161387dffa701d Mon Sep 17 00:00:00 2001 From: Kohei Morita Date: Sun, 24 Sep 2023 01:54:30 +0900 Subject: [PATCH 3/5] fix --- .../polynomial_interpolation_on_geometric_sequence/gen/small.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/math/polynomial_interpolation_on_geometric_sequence/gen/small.cpp b/math/polynomial_interpolation_on_geometric_sequence/gen/small.cpp index f0e023062..679423a3a 100644 --- a/math/polynomial_interpolation_on_geometric_sequence/gen/small.cpp +++ b/math/polynomial_interpolation_on_geometric_sequence/gen/small.cpp @@ -1,4 +1,5 @@ #include +#include #include "random.h" #include "common.hpp" From a50e3117f7cc6d1e89bd680d7a8ed5d6770a9c1c Mon Sep 17 00:00:00 2001 From: Kohei Morita Date: Sun, 24 Sep 2023 04:31:46 +0900 Subject: [PATCH 4/5] fix --- .../gen/random.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/math/polynomial_interpolation_on_geometric_sequence/gen/random.cpp b/math/polynomial_interpolation_on_geometric_sequence/gen/random.cpp index 5f1e7ed60..7c0f70955 100644 --- a/math/polynomial_interpolation_on_geometric_sequence/gen/random.cpp +++ b/math/polynomial_interpolation_on_geometric_sequence/gen/random.cpp @@ -1,4 +1,5 @@ #include +#include #include "random.h" #include "common.hpp" From 6d55b8c7d0e2dc974fa5742ad81a0199ae0313b7 Mon Sep 17 00:00:00 2001 From: Kohei Morita Date: Sun, 24 Sep 2023 13:38:24 +0900 Subject: [PATCH 5/5] fix --- .../gen/max_random.cpp | 1 + .../polynomial_interpolation_on_geometric_sequence/gen/nar_0.cpp | 1 + .../gen/near_pow2.cpp | 1 + .../gen/pow_rN_equal_1.cpp | 1 + math/polynomial_interpolation_on_geometric_sequence/gen/y0.cpp | 1 + 5 files changed, 5 insertions(+) diff --git a/math/polynomial_interpolation_on_geometric_sequence/gen/max_random.cpp b/math/polynomial_interpolation_on_geometric_sequence/gen/max_random.cpp index b79d676b0..6a3434e6f 100644 --- a/math/polynomial_interpolation_on_geometric_sequence/gen/max_random.cpp +++ b/math/polynomial_interpolation_on_geometric_sequence/gen/max_random.cpp @@ -1,4 +1,5 @@ #include +#include #include "random.h" #include "common.hpp" diff --git a/math/polynomial_interpolation_on_geometric_sequence/gen/nar_0.cpp b/math/polynomial_interpolation_on_geometric_sequence/gen/nar_0.cpp index f71251cef..301cb232a 100644 --- a/math/polynomial_interpolation_on_geometric_sequence/gen/nar_0.cpp +++ b/math/polynomial_interpolation_on_geometric_sequence/gen/nar_0.cpp @@ -1,4 +1,5 @@ #include +#include #include "random.h" #include "common.hpp" diff --git a/math/polynomial_interpolation_on_geometric_sequence/gen/near_pow2.cpp b/math/polynomial_interpolation_on_geometric_sequence/gen/near_pow2.cpp index dc08777fc..4424de166 100644 --- a/math/polynomial_interpolation_on_geometric_sequence/gen/near_pow2.cpp +++ b/math/polynomial_interpolation_on_geometric_sequence/gen/near_pow2.cpp @@ -1,4 +1,5 @@ #include +#include #include "random.h" #include "common.hpp" diff --git a/math/polynomial_interpolation_on_geometric_sequence/gen/pow_rN_equal_1.cpp b/math/polynomial_interpolation_on_geometric_sequence/gen/pow_rN_equal_1.cpp index 05edded97..efe2f4d03 100644 --- a/math/polynomial_interpolation_on_geometric_sequence/gen/pow_rN_equal_1.cpp +++ b/math/polynomial_interpolation_on_geometric_sequence/gen/pow_rN_equal_1.cpp @@ -1,4 +1,5 @@ #include +#include #include "random.h" #include "common.hpp" diff --git a/math/polynomial_interpolation_on_geometric_sequence/gen/y0.cpp b/math/polynomial_interpolation_on_geometric_sequence/gen/y0.cpp index 32f75da87..51d653b40 100644 --- a/math/polynomial_interpolation_on_geometric_sequence/gen/y0.cpp +++ b/math/polynomial_interpolation_on_geometric_sequence/gen/y0.cpp @@ -1,4 +1,5 @@ #include +#include #include "random.h" #include "common.hpp"