Skip to content

Commit 4a98dae

Browse files
committed
fix
1 parent 5786660 commit 4a98dae

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+68
-60
lines changed

.github/workflows/verify.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ jobs:
3434
cache-pip: true
3535

3636
# Initialize your own environment for resolving.
37+
- name: Use GCC 14.2
38+
run: |
39+
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-14 100
40+
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-14 100
41+
g++ --version
3742
- name: oj-resolve
3843
uses: competitive-verifier/actions/oj-resolve@v2
3944
with:

cp-algo/math/common.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#define CP_ALGO_MATH_COMMON_HPP
33
#include <functional>
44
#include <cstdint>
5+
#include <cassert>
56
namespace cp_algo::math {
67
#ifdef CP_ALGO_MAXN
78
const int maxn = CP_ALGO_MAXN;

verify/combi/binom.test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// @brief Binomial Coefficient (Prime Mod)
2-
// competitive-verifier: PROBLEM https://judge.yosupo.jp/problem/binomial_coefficient_prime_mod
2+
#define PROBLEM "https://judge.yosupo.jp/problem/binomial_coefficient_prime_mod"
33
#pragma GCC optimize("Ofast,unroll-loops")
44
#define CP_ALGO_MAXN 1e7
55
#include "cp-algo/number_theory/modint.hpp"

verify/geometry/arg.test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// @brief Sort Points by Argument
2-
// competitive-verifier: PROBLEM https://judge.yosupo.jp/problem/sort_points_by_argument
2+
#define PROBLEM "https://judge.yosupo.jp/problem/sort_points_by_argument"
33
#pragma GCC optimize("Ofast,unroll-loops")
44
#pragma GCC target("tune=native")
55
#include "cp-algo/geometry/point.hpp"

verify/geometry/closest_pair.test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// @brief Closest Pair of Points
2-
// competitive-verifier: PROBLEM https://judge.yosupo.jp/problem/closest_pair
2+
#define PROBLEM "https://judge.yosupo.jp/problem/closest_pair"
33
#pragma GCC optimize("Ofast,unroll-loops")
44
#include "cp-algo/geometry/closest_pair.hpp"
55
#include <bits/stdc++.h>

verify/geometry/hull.test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// @brief Static Convex Hull
2-
// competitive-verifier: PROBLEM https://judge.yosupo.jp/problem/static_convex_hull
2+
#define PROBLEM "https://judge.yosupo.jp/problem/static_convex_hull"
33
#pragma GCC optimize("Ofast,unroll-loops")
44
#pragma GCC target("tune=native")
55
#include "cp-algo/geometry/convex_hull.hpp"

verify/graph/cycle_directed.test.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// @brief Cycle Detection (Directed)
2-
// competitive-verifier: PROBLEM https://judge.yosupo.jp/problem/cycle_detection
2+
#define PROBLEM "https://judge.yosupo.jp/problem/cycle_detection"
33
#pragma GCC optimize("Ofast,unroll-loops")
4-
#pragma GCC target("tune=native")
5-
#include "cp-algo/graph/cycle.hpp"
64
#include <bits/stdc++.h>
5+
#include "blazingio/blazingio.min.hpp"
6+
#include "cp-algo/graph/cycle.hpp"
77

88
using namespace std;
99
using namespace cp_algo::graph;

verify/graph/cycle_undirected.test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// @brief Cycle Detection (Undirected)
2-
// competitive-verifier: PROBLEM https://judge.yosupo.jp/problem/cycle_detection_undirected
2+
#define PROBLEM "https://judge.yosupo.jp/problem/cycle_detection_undirected"
33
#pragma GCC optimize("Ofast,unroll-loops")
44
#pragma GCC target("tune=native")
55
#include "cp-algo/graph/cycle.hpp"

verify/graph/euler_directed.test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// @brief Eulerian Trail (Directed)
2-
// competitive-verifier: PROBLEM https://judge.yosupo.jp/problem/eulerian_trail_directed
2+
#define PROBLEM "https://judge.yosupo.jp/problem/eulerian_trail_directed"
33
#pragma GCC optimize("Ofast,unroll-loops")
44
#pragma GCC target("tune=native")
55
#include "cp-algo/graph/euler.hpp"

verify/graph/euler_undirected.test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// @brief Eulerian Trail (Undirected)
2-
// competitive-verifier: PROBLEM https://judge.yosupo.jp/problem/eulerian_trail_undirected
2+
#define PROBLEM "https://judge.yosupo.jp/problem/eulerian_trail_undirected"
33
#pragma GCC optimize("Ofast,unroll-loops")
44
#pragma GCC target("tune=native")
55
#include "cp-algo/graph/euler.hpp"

0 commit comments

Comments
 (0)