From 0f38114829c6191163aeefb006db4a5ccf91036f Mon Sep 17 00:00:00 2001 From: hitonanode <32937551+hitonanode@users.noreply.github.com> Date: Sun, 24 Aug 2025 23:11:46 +0900 Subject: [PATCH] fix test include paths --- .../test/linear_sum_assignment.aoj1163.test.cpp | 8 +++----- combinatorial_opt/test/linear_sum_assignment.test.cpp | 6 +++--- convex_hull_trick/test/convex_hull_trick.test.cpp | 6 ++++-- convolution/test/ntt_arbitrary_mod.test.cpp | 6 +++--- data_structure/test/area_of_union_of_rectangles.test.cpp | 2 +- formal_power_series/test/bernoulli_number.test.cpp | 4 ++-- .../test/coeff_of_rational_function.test.cpp | 6 +++--- formal_power_series/test/division_number.test.cpp | 4 ++-- formal_power_series/test/fps_exp.test.cpp | 4 ++-- formal_power_series/test/fps_exp_modintruntime.test.cpp | 4 ++-- formal_power_series/test/fps_inv.test.cpp | 4 ++-- formal_power_series/test/fps_log.test.cpp | 4 ++-- formal_power_series/test/fps_pow.test.cpp | 4 ++-- formal_power_series/test/fps_sqrt.test.cpp | 4 ++-- formal_power_series/test/fps_sqrt_modintruntime.test.cpp | 4 ++-- formal_power_series/test/kitamasa.test.cpp | 2 +- formal_power_series/test/poly_taylor_shift.test.cpp | 4 ++-- formal_power_series/test/sharp_p_subset_sum.test.cpp | 4 ++-- formal_power_series/test/stirling_number_of_2nd.test.cpp | 4 ++-- geometry/test/sort_by_argument.test.cpp | 2 +- number/test/discrete_logarithm_matrix.yuki3170.test.cpp | 2 +- number/test/discrete_logarithm_matrix.yuki950.test.cpp | 4 ++-- number/test/discrete_logarithm_mod.test.cpp | 2 +- .../discrete_logarithm_symmetric_group.yuki101.test.cpp | 2 +- .../discrete_logarithm_symmetric_group.yuki261.test.cpp | 2 +- number/test/sqrt_modint_runtime.test.cpp | 2 +- set_power_series/test/subset_conv.test.cpp | 2 +- 27 files changed, 51 insertions(+), 51 deletions(-) diff --git a/combinatorial_opt/test/linear_sum_assignment.aoj1163.test.cpp b/combinatorial_opt/test/linear_sum_assignment.aoj1163.test.cpp index 57762c92..e99c6570 100644 --- a/combinatorial_opt/test/linear_sum_assignment.aoj1163.test.cpp +++ b/combinatorial_opt/test/linear_sum_assignment.aoj1163.test.cpp @@ -1,11 +1,9 @@ #define PROBLEM "https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1163" -#include "combinatorial_opt/linear_sum_assignment.hpp" +#include "../linear_sum_assignment.hpp" -#include "utilities/reader.hpp" -#include "utilities/writer.hpp" - -#include +#include "../../utilities/reader.hpp" +#include "../../utilities/writer.hpp" #include #include diff --git a/combinatorial_opt/test/linear_sum_assignment.test.cpp b/combinatorial_opt/test/linear_sum_assignment.test.cpp index fb8233c8..88d692ef 100644 --- a/combinatorial_opt/test/linear_sum_assignment.test.cpp +++ b/combinatorial_opt/test/linear_sum_assignment.test.cpp @@ -1,9 +1,9 @@ #define PROBLEM "https://judge.yosupo.jp/problem/assignment" -#include "combinatorial_opt/linear_sum_assignment.hpp" +#include "../linear_sum_assignment.hpp" -#include "utilities/reader.hpp" -#include "utilities/writer.hpp" +#include "../../utilities/reader.hpp" +#include "../../utilities/writer.hpp" #include using namespace std; diff --git a/convex_hull_trick/test/convex_hull_trick.test.cpp b/convex_hull_trick/test/convex_hull_trick.test.cpp index fb21bb82..49233e9c 100644 --- a/convex_hull_trick/test/convex_hull_trick.test.cpp +++ b/convex_hull_trick/test/convex_hull_trick.test.cpp @@ -1,7 +1,9 @@ -#include "convex_hull_trick/convex_hull_trick.hpp" +#define PROBLEM "https://judge.yosupo.jp/problem/line_add_get_min" + +#include "../convex_hull_trick.hpp" + #include #include -#define PROBLEM "https://judge.yosupo.jp/problem/line_add_get_min" ConvexHullTrick<__int128> cht_min(true), cht_max(false); diff --git a/convolution/test/ntt_arbitrary_mod.test.cpp b/convolution/test/ntt_arbitrary_mod.test.cpp index 8f4ec0ae..09112ba3 100644 --- a/convolution/test/ntt_arbitrary_mod.test.cpp +++ b/convolution/test/ntt_arbitrary_mod.test.cpp @@ -1,7 +1,7 @@ #define PROBLEM "https://judge.yosupo.jp/problem/convolution_mod_1000000007" -#include "convolution/ntt.hpp" -#include "modint.hpp" -#include "number/modint_runtime.hpp" +#include "../ntt.hpp" +#include "../../modint.hpp" +#include "../../number/modint_runtime.hpp" #include using namespace std; diff --git a/data_structure/test/area_of_union_of_rectangles.test.cpp b/data_structure/test/area_of_union_of_rectangles.test.cpp index 79ac8e57..c2e7d258 100644 --- a/data_structure/test/area_of_union_of_rectangles.test.cpp +++ b/data_structure/test/area_of_union_of_rectangles.test.cpp @@ -1,5 +1,5 @@ #define PROBLEM "https://judge.yosupo.jp/problem/area_of_union_of_rectangles" -#include "data_structure/area_of_union_of_rectangles.hpp" +#include "../area_of_union_of_rectangles.hpp" #include using namespace std; diff --git a/formal_power_series/test/bernoulli_number.test.cpp b/formal_power_series/test/bernoulli_number.test.cpp index 349af4db..7785169e 100644 --- a/formal_power_series/test/bernoulli_number.test.cpp +++ b/formal_power_series/test/bernoulli_number.test.cpp @@ -1,6 +1,6 @@ #define PROBLEM "https://judge.yosupo.jp/problem/bernoulli_number" -#include "formal_power_series/formal_power_series.hpp" -#include "modint.hpp" +#include "../formal_power_series.hpp" +#include "../../modint.hpp" #include using namespace std; diff --git a/formal_power_series/test/coeff_of_rational_function.test.cpp b/formal_power_series/test/coeff_of_rational_function.test.cpp index 81426531..3751d1a2 100644 --- a/formal_power_series/test/coeff_of_rational_function.test.cpp +++ b/formal_power_series/test/coeff_of_rational_function.test.cpp @@ -1,7 +1,7 @@ #define PROBLEM "https://yukicoder.me/problems/no/215" -#include "formal_power_series/coeff_of_rational_function.hpp" -#include "convolution/ntt.hpp" -#include "modint.hpp" +#include "../coeff_of_rational_function.hpp" +#include "../../convolution/ntt.hpp" +#include "../../modint.hpp" using mint = ModInt<1000000007>; diff --git a/formal_power_series/test/division_number.test.cpp b/formal_power_series/test/division_number.test.cpp index fa231827..e9861f69 100644 --- a/formal_power_series/test/division_number.test.cpp +++ b/formal_power_series/test/division_number.test.cpp @@ -1,6 +1,6 @@ #define PROBLEM "https://judge.yosupo.jp/problem/partition_function" -#include "formal_power_series/formal_power_series.hpp" -#include "modint.hpp" +#include "../formal_power_series.hpp" +#include "../../modint.hpp" #include using namespace std; diff --git a/formal_power_series/test/fps_exp.test.cpp b/formal_power_series/test/fps_exp.test.cpp index 3eb56b25..1e421885 100644 --- a/formal_power_series/test/fps_exp.test.cpp +++ b/formal_power_series/test/fps_exp.test.cpp @@ -1,6 +1,6 @@ #define PROBLEM "https://judge.yosupo.jp/problem/exp_of_formal_power_series" -#include "formal_power_series/formal_power_series.hpp" -#include "modint.hpp" +#include "../formal_power_series.hpp" +#include "../../modint.hpp" #include using namespace std; diff --git a/formal_power_series/test/fps_exp_modintruntime.test.cpp b/formal_power_series/test/fps_exp_modintruntime.test.cpp index a87d8928..3f21f648 100644 --- a/formal_power_series/test/fps_exp_modintruntime.test.cpp +++ b/formal_power_series/test/fps_exp_modintruntime.test.cpp @@ -1,6 +1,6 @@ #define PROBLEM "https://judge.yosupo.jp/problem/exp_of_formal_power_series" -#include "formal_power_series/formal_power_series.hpp" -#include "number/modint_runtime.hpp" +#include "../formal_power_series.hpp" +#include "../../number/modint_runtime.hpp" #include using namespace std; diff --git a/formal_power_series/test/fps_inv.test.cpp b/formal_power_series/test/fps_inv.test.cpp index a63fe703..2da6cf69 100644 --- a/formal_power_series/test/fps_inv.test.cpp +++ b/formal_power_series/test/fps_inv.test.cpp @@ -1,6 +1,6 @@ #define PROBLEM "https://judge.yosupo.jp/problem/inv_of_formal_power_series" -#include "formal_power_series/formal_power_series.hpp" -#include "modint.hpp" +#include "../formal_power_series.hpp" +#include "../../modint.hpp" #include using namespace std; diff --git a/formal_power_series/test/fps_log.test.cpp b/formal_power_series/test/fps_log.test.cpp index 1b150686..41326890 100644 --- a/formal_power_series/test/fps_log.test.cpp +++ b/formal_power_series/test/fps_log.test.cpp @@ -1,6 +1,6 @@ #define PROBLEM "https://judge.yosupo.jp/problem/log_of_formal_power_series" -#include "formal_power_series/formal_power_series.hpp" -#include "modint.hpp" +#include "../formal_power_series.hpp" +#include "../../modint.hpp" #include using namespace std; diff --git a/formal_power_series/test/fps_pow.test.cpp b/formal_power_series/test/fps_pow.test.cpp index b4056f72..d89b4db2 100644 --- a/formal_power_series/test/fps_pow.test.cpp +++ b/formal_power_series/test/fps_pow.test.cpp @@ -1,6 +1,6 @@ #define PROBLEM "https://judge.yosupo.jp/problem/pow_of_formal_power_series" -#include "formal_power_series/formal_power_series.hpp" -#include "modint.hpp" +#include "../formal_power_series.hpp" +#include "../../modint.hpp" #include using namespace std; diff --git a/formal_power_series/test/fps_sqrt.test.cpp b/formal_power_series/test/fps_sqrt.test.cpp index d6391be4..9c0a217c 100644 --- a/formal_power_series/test/fps_sqrt.test.cpp +++ b/formal_power_series/test/fps_sqrt.test.cpp @@ -1,6 +1,6 @@ #define PROBLEM "https://judge.yosupo.jp/problem/sqrt_of_formal_power_series" -#include "formal_power_series/formal_power_series.hpp" -#include "modint.hpp" +#include "../formal_power_series.hpp" +#include "../../modint.hpp" #include using namespace std; diff --git a/formal_power_series/test/fps_sqrt_modintruntime.test.cpp b/formal_power_series/test/fps_sqrt_modintruntime.test.cpp index fdb5db38..46fc87f9 100644 --- a/formal_power_series/test/fps_sqrt_modintruntime.test.cpp +++ b/formal_power_series/test/fps_sqrt_modintruntime.test.cpp @@ -1,6 +1,6 @@ #define PROBLEM "https://judge.yosupo.jp/problem/sqrt_of_formal_power_series" -#include "formal_power_series/formal_power_series.hpp" -#include "number/modint_runtime.hpp" +#include "../formal_power_series.hpp" +#include "../../number/modint_runtime.hpp" #include using namespace std; diff --git a/formal_power_series/test/kitamasa.test.cpp b/formal_power_series/test/kitamasa.test.cpp index de70968f..1c478b71 100644 --- a/formal_power_series/test/kitamasa.test.cpp +++ b/formal_power_series/test/kitamasa.test.cpp @@ -1,7 +1,7 @@ #define PROBLEM "https://yukicoder.me/problems/no/214" #include "../../convolution/ntt.hpp" #include "../linear_recurrence.hpp" -#include "modint.hpp" +#include "../../modint.hpp" using mint = ModInt<1000000007>; #include diff --git a/formal_power_series/test/poly_taylor_shift.test.cpp b/formal_power_series/test/poly_taylor_shift.test.cpp index 34287e06..487da371 100644 --- a/formal_power_series/test/poly_taylor_shift.test.cpp +++ b/formal_power_series/test/poly_taylor_shift.test.cpp @@ -1,6 +1,6 @@ #define PROBLEM "https://judge.yosupo.jp/problem/polynomial_taylor_shift" -#include "formal_power_series/formal_power_series.hpp" -#include "modint.hpp" +#include "../formal_power_series.hpp" +#include "../../modint.hpp" #include using namespace std; diff --git a/formal_power_series/test/sharp_p_subset_sum.test.cpp b/formal_power_series/test/sharp_p_subset_sum.test.cpp index 8337ff9b..a5269485 100644 --- a/formal_power_series/test/sharp_p_subset_sum.test.cpp +++ b/formal_power_series/test/sharp_p_subset_sum.test.cpp @@ -1,6 +1,6 @@ #define PROBLEM "https://judge.yosupo.jp/problem/sharp_p_subset_sum" -#include "formal_power_series/formal_power_series.hpp" -#include "modint.hpp" +#include "../formal_power_series.hpp" +#include "../../modint.hpp" #include #include using namespace std; diff --git a/formal_power_series/test/stirling_number_of_2nd.test.cpp b/formal_power_series/test/stirling_number_of_2nd.test.cpp index 36d63bbb..bd25a107 100644 --- a/formal_power_series/test/stirling_number_of_2nd.test.cpp +++ b/formal_power_series/test/stirling_number_of_2nd.test.cpp @@ -1,6 +1,6 @@ #define PROBLEM "https://judge.yosupo.jp/problem/stirling_number_of_the_second_kind" -#include "formal_power_series/formal_power_series.hpp" -#include "modint.hpp" +#include "../formal_power_series.hpp" +#include "../../modint.hpp" #include using namespace std; diff --git a/geometry/test/sort_by_argument.test.cpp b/geometry/test/sort_by_argument.test.cpp index d3ad9ae7..2532123b 100644 --- a/geometry/test/sort_by_argument.test.cpp +++ b/geometry/test/sort_by_argument.test.cpp @@ -1,5 +1,5 @@ #define PROBLEM "https://judge.yosupo.jp/problem/sort_points_by_argument" -#include "geometry/sort_by_argument.hpp" +#include "../sort_by_argument.hpp" #include #include diff --git a/number/test/discrete_logarithm_matrix.yuki3170.test.cpp b/number/test/discrete_logarithm_matrix.yuki3170.test.cpp index 5a6fcf3f..651157c7 100644 --- a/number/test/discrete_logarithm_matrix.yuki3170.test.cpp +++ b/number/test/discrete_logarithm_matrix.yuki3170.test.cpp @@ -1,5 +1,5 @@ #define PROBLEM "https://yukicoder.me/problems/no/3170" -#include "number/discrete_logarithm.hpp" +#include "../discrete_logarithm.hpp" #include #include diff --git a/number/test/discrete_logarithm_matrix.yuki950.test.cpp b/number/test/discrete_logarithm_matrix.yuki950.test.cpp index ef6745d9..1a671a30 100644 --- a/number/test/discrete_logarithm_matrix.yuki950.test.cpp +++ b/number/test/discrete_logarithm_matrix.yuki950.test.cpp @@ -1,6 +1,6 @@ #define PROBLEM "https://yukicoder.me/problems/no/950" -#include "number/discrete_logarithm.hpp" -#include "utilities/pow_op.hpp" +#include "../discrete_logarithm.hpp" +#include "../../utilities/pow_op.hpp" #include #include diff --git a/number/test/discrete_logarithm_mod.test.cpp b/number/test/discrete_logarithm_mod.test.cpp index 3967709d..1198d651 100644 --- a/number/test/discrete_logarithm_mod.test.cpp +++ b/number/test/discrete_logarithm_mod.test.cpp @@ -1,5 +1,5 @@ #define PROBLEM "https://judge.yosupo.jp/problem/discrete_logarithm_mod" -#include "number/discrete_logarithm.hpp" +#include "../discrete_logarithm.hpp" #include using namespace std; diff --git a/number/test/discrete_logarithm_symmetric_group.yuki101.test.cpp b/number/test/discrete_logarithm_symmetric_group.yuki101.test.cpp index 21dddd33..c9bd1427 100644 --- a/number/test/discrete_logarithm_symmetric_group.yuki101.test.cpp +++ b/number/test/discrete_logarithm_symmetric_group.yuki101.test.cpp @@ -1,5 +1,5 @@ #define PROBLEM "https://yukicoder.me/problems/no/101" -#include "number/discrete_logarithm.hpp" +#include "../discrete_logarithm.hpp" #include #include diff --git a/number/test/discrete_logarithm_symmetric_group.yuki261.test.cpp b/number/test/discrete_logarithm_symmetric_group.yuki261.test.cpp index 262afe4b..64ca5cf6 100644 --- a/number/test/discrete_logarithm_symmetric_group.yuki261.test.cpp +++ b/number/test/discrete_logarithm_symmetric_group.yuki261.test.cpp @@ -1,5 +1,5 @@ #define PROBLEM "https://yukicoder.me/problems/no/261" -#include "number/discrete_logarithm.hpp" +#include "../discrete_logarithm.hpp" #include #include diff --git a/number/test/sqrt_modint_runtime.test.cpp b/number/test/sqrt_modint_runtime.test.cpp index 5498572c..dd780fef 100644 --- a/number/test/sqrt_modint_runtime.test.cpp +++ b/number/test/sqrt_modint_runtime.test.cpp @@ -1,5 +1,5 @@ #define PROBLEM "https://judge.yosupo.jp/problem/sqrt_mod" -#include "number/modint_runtime.hpp" +#include "../modint_runtime.hpp" #include using namespace std; diff --git a/set_power_series/test/subset_conv.test.cpp b/set_power_series/test/subset_conv.test.cpp index ccc0147d..0c96f407 100644 --- a/set_power_series/test/subset_conv.test.cpp +++ b/set_power_series/test/subset_conv.test.cpp @@ -1,6 +1,6 @@ #define PROBLEM "https://judge.yosupo.jp/problem/subset_convolution" #include "../subset_convolution.hpp" -#include "modint.hpp" +#include "../../modint.hpp" #include using namespace std;