Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions combinatorial_opt/test/linear_sum_assignment.aoj1163.test.cpp
Original file line number Diff line number Diff line change
@@ -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 <iostream>
#include "../../utilities/reader.hpp"
#include "../../utilities/writer.hpp"

#include <numeric>
#include <vector>
Expand Down
6 changes: 3 additions & 3 deletions combinatorial_opt/test/linear_sum_assignment.test.cpp
Original file line number Diff line number Diff line change
@@ -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 <vector>
using namespace std;
Expand Down
6 changes: 4 additions & 2 deletions convex_hull_trick/test/convex_hull_trick.test.cpp
Original file line number Diff line number Diff line change
@@ -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 <cassert>
#include <iostream>
#define PROBLEM "https://judge.yosupo.jp/problem/line_add_get_min"

ConvexHullTrick<__int128> cht_min(true), cht_max(false);

Expand Down
6 changes: 3 additions & 3 deletions convolution/test/ntt_arbitrary_mod.test.cpp
Original file line number Diff line number Diff line change
@@ -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 <iostream>
using namespace std;

Expand Down
2 changes: 1 addition & 1 deletion data_structure/test/area_of_union_of_rectangles.test.cpp
Original file line number Diff line number Diff line change
@@ -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 <iostream>
using namespace std;
Expand Down
4 changes: 2 additions & 2 deletions formal_power_series/test/bernoulli_number.test.cpp
Original file line number Diff line number Diff line change
@@ -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 <iostream>
using namespace std;

Expand Down
6 changes: 3 additions & 3 deletions formal_power_series/test/coeff_of_rational_function.test.cpp
Original file line number Diff line number Diff line change
@@ -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>;

Expand Down
4 changes: 2 additions & 2 deletions formal_power_series/test/division_number.test.cpp
Original file line number Diff line number Diff line change
@@ -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 <iostream>
using namespace std;

Expand Down
4 changes: 2 additions & 2 deletions formal_power_series/test/fps_exp.test.cpp
Original file line number Diff line number Diff line change
@@ -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 <iostream>
using namespace std;

Expand Down
4 changes: 2 additions & 2 deletions formal_power_series/test/fps_exp_modintruntime.test.cpp
Original file line number Diff line number Diff line change
@@ -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 <iostream>
using namespace std;

Expand Down
4 changes: 2 additions & 2 deletions formal_power_series/test/fps_inv.test.cpp
Original file line number Diff line number Diff line change
@@ -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 <iostream>
using namespace std;

Expand Down
4 changes: 2 additions & 2 deletions formal_power_series/test/fps_log.test.cpp
Original file line number Diff line number Diff line change
@@ -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 <iostream>
using namespace std;

Expand Down
4 changes: 2 additions & 2 deletions formal_power_series/test/fps_pow.test.cpp
Original file line number Diff line number Diff line change
@@ -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 <iostream>
using namespace std;

Expand Down
4 changes: 2 additions & 2 deletions formal_power_series/test/fps_sqrt.test.cpp
Original file line number Diff line number Diff line change
@@ -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 <iostream>
using namespace std;

Expand Down
4 changes: 2 additions & 2 deletions formal_power_series/test/fps_sqrt_modintruntime.test.cpp
Original file line number Diff line number Diff line change
@@ -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 <iostream>
using namespace std;

Expand Down
2 changes: 1 addition & 1 deletion formal_power_series/test/kitamasa.test.cpp
Original file line number Diff line number Diff line change
@@ -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 <iostream>
Expand Down
4 changes: 2 additions & 2 deletions formal_power_series/test/poly_taylor_shift.test.cpp
Original file line number Diff line number Diff line change
@@ -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 <iostream>
using namespace std;

Expand Down
4 changes: 2 additions & 2 deletions formal_power_series/test/sharp_p_subset_sum.test.cpp
Original file line number Diff line number Diff line change
@@ -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 <iostream>
#include <vector>
using namespace std;
Expand Down
4 changes: 2 additions & 2 deletions formal_power_series/test/stirling_number_of_2nd.test.cpp
Original file line number Diff line number Diff line change
@@ -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 <iostream>
using namespace std;

Expand Down
2 changes: 1 addition & 1 deletion geometry/test/sort_by_argument.test.cpp
Original file line number Diff line number Diff line change
@@ -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 <algorithm>
#include <iostream>
Expand Down
2 changes: 1 addition & 1 deletion number/test/discrete_logarithm_matrix.yuki3170.test.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#define PROBLEM "https://yukicoder.me/problems/no/3170"
#include "number/discrete_logarithm.hpp"
#include "../discrete_logarithm.hpp"

#include <array>
#include <iostream>
Expand Down
4 changes: 2 additions & 2 deletions number/test/discrete_logarithm_matrix.yuki950.test.cpp
Original file line number Diff line number Diff line change
@@ -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 <array>
#include <iostream>
Expand Down
2 changes: 1 addition & 1 deletion number/test/discrete_logarithm_mod.test.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#define PROBLEM "https://judge.yosupo.jp/problem/discrete_logarithm_mod"
#include "number/discrete_logarithm.hpp"
#include "../discrete_logarithm.hpp"

#include <iostream>
using namespace std;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#define PROBLEM "https://yukicoder.me/problems/no/101"
#include "number/discrete_logarithm.hpp"
#include "../discrete_logarithm.hpp"

#include <iostream>
#include <numeric>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#define PROBLEM "https://yukicoder.me/problems/no/261"
#include "number/discrete_logarithm.hpp"
#include "../discrete_logarithm.hpp"

#include <iostream>
#include <numeric>
Expand Down
2 changes: 1 addition & 1 deletion number/test/sqrt_modint_runtime.test.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#define PROBLEM "https://judge.yosupo.jp/problem/sqrt_mod"
#include "number/modint_runtime.hpp"
#include "../modint_runtime.hpp"
#include <iostream>
using namespace std;

Expand Down
2 changes: 1 addition & 1 deletion set_power_series/test/subset_conv.test.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#define PROBLEM "https://judge.yosupo.jp/problem/subset_convolution"
#include "../subset_convolution.hpp"
#include "modint.hpp"
#include "../../modint.hpp"
#include <iostream>
using namespace std;

Expand Down