Skip to content

Commit 3d2d5f5

Browse files
lrvideckisweb-flow
andauthored
Switch back (#125)
* revert name back * [auto-verifier] verify commit 7a9ac3c * clang format now * [auto-verifier] verify commit 65a77ba * fixes * fix * fix * fix path --------- Co-authored-by: GitHub <noreply@github.com>
1 parent 0d18faa commit 3d2d5f5

File tree

9 files changed

+16
-16
lines changed

9 files changed

+16
-16
lines changed

.verify-helper/timestamps.remote.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,11 @@
5454
"tests/library_checker_aizu_tests/graphs/connected_components_of_complement_graph.test.cpp": "2024-12-14 19:50:29 -0600",
5555
"tests/library_checker_aizu_tests/graphs/dijkstra_aizu.test.cpp": "2024-12-14 19:50:29 -0600",
5656
"tests/library_checker_aizu_tests/graphs/dijkstra_lib_checker.test.cpp": "2024-12-14 19:50:29 -0600",
57-
"tests/library_checker_aizu_tests/graphs/directed_cycle.test.cpp": "2024-12-15 14:34:10 -0600",
57+
"tests/library_checker_aizu_tests/graphs/directed_cycle.test.cpp": "2025-01-15 00:04:30 -0700",
5858
"tests/library_checker_aizu_tests/graphs/enumerate_triangles.test.cpp": "2024-12-14 19:50:29 -0600",
5959
"tests/library_checker_aizu_tests/graphs/hopcroft_karp_aizu.test.cpp": "2024-12-14 19:50:29 -0600",
6060
"tests/library_checker_aizu_tests/graphs/hopcroft_karp_lib_checker.test.cpp": "2024-12-14 19:50:29 -0600",
6161
"tests/library_checker_aizu_tests/graphs/mst.test.cpp": "2024-11-17 14:04:03 -0600",
62-
"tests/library_checker_aizu_tests/graphs/offline_incremental_scc.test.cpp": "2024-12-15 14:34:10 -0600",
63-
"tests/library_checker_aizu_tests/graphs/strongly_connected_components_aizu.test.cpp": "2024-12-15 14:34:10 -0600",
64-
"tests/library_checker_aizu_tests/graphs/strongly_connected_components_lib_checker.test.cpp": "2024-12-15 14:34:10 -0600",
6562
"tests/library_checker_aizu_tests/graphs/two_edge_components.test.cpp": "2024-12-15 09:01:54 -0600",
6663
"tests/library_checker_aizu_tests/handmade_tests/count_paths_forest.test.cpp": "2024-12-15 14:34:10 -0600",
6764
"tests/library_checker_aizu_tests/handmade_tests/dsu_size.test.cpp": "2024-12-14 19:50:29 -0600",

library/graphs/scc/add_edges_strongly_connected.hpp renamed to library/graphs/strongly_connected_components/add_edges_strongly_connected.hpp

File renamed without changes.

library/graphs/scc/offline_incremental_scc.hpp renamed to library/graphs/strongly_connected_components/offline_incremental_scc.hpp

File renamed without changes.

library/graphs/scc/scc.hpp renamed to library/graphs/strongly_connected_components/scc.hpp

File renamed without changes.

tests/.config/.cppcheck_suppression_list

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ unusedScopedObject:library_checker_aizu_tests/trees/cd_jump_on_tree.test.cpp:58
2121
arrayIndexOutOfBoundsCond:library_checker_aizu_tests/math/linear_prime_sieve.test.cpp:17
2222
negativeContainerIndex:../library/strings/suffix_array/burrows_wheeler.hpp:50
2323
useStlAlgorithm:../kactl/content/numerical/FastFourierTransform.h:53
24-
useStlAlgorithm:../library/graphs/scc/add_edges_strongly_connected.hpp:58
24+
useStlAlgorithm:../library/graphs/strongly_connected_components/add_edges_strongly_connected.hpp:58
2525
useStlAlgorithm:../library/math/matrix_related/row_reduce.hpp:28
2626
useStlAlgorithm:../library/math/count_paths/count_paths_triangle.hpp:24
2727
useStlAlgorithm:../library/math/matrix_related/xor_basis_unordered_intersection.hpp:10

tests/library_checker_aizu_tests/graphs/offline_incremental_scc.test.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
#define PROBLEM \
2-
"https://judge.yosupo.jp/problem/incremental_scc"
1+
#define PROBLEM "https://judge.yosupo.jp/problem/incremental_scc"
32
#include "../template.hpp"
3+
4+
#include "../../../library/graphs/strongly_connected_components/offline_incremental_scc.hpp"
45
#include "../../../kactl/content/data-structures/UnionFind.h"
5-
#include "../../../library/graphs/scc/offline_incremental_scc.hpp"
66
#include "../../../library/math/mod_int.hpp"
7+
78
int main() {
89
cin.tie(0)->sync_with_stdio(0);
910
int n, m;
@@ -18,8 +19,7 @@ int main() {
1819
assert((eds[t][0] == eds[t][1]) == (joins[t] == -1));
1920
vector<int> order(m);
2021
iota(all(order), 0);
21-
ranges::sort(all(order), {},
22-
[&](int i) { return joins[i]; });
22+
ranges::sort(all(order), {}, [&](int i) { return joins[i]; });
2323
UF uf(n);
2424
mint sum = 0;
2525
for (int t = 0, it = 0; t < m; t++) {

tests/library_checker_aizu_tests/graphs/strongly_connected_components_aizu.test.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
#define PROBLEM \
22
"https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=GRL_3_C"
33
#include "../template.hpp"
4+
5+
#include "../../../library/graphs/strongly_connected_components/add_edges_strongly_connected.hpp"
46
#include "../scc_asserts.hpp"
5-
#include "../../../library/graphs/scc/add_edges_strongly_connected.hpp"
7+
68
int main() {
79
cin.tie(0)->sync_with_stdio(0);
810
int n, m;

tests/library_checker_aizu_tests/graphs/strongly_connected_components_lib_checker.test.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
#define PROBLEM "https://judge.yosupo.jp/problem/scc"
22
#include "../template.hpp"
3+
4+
#include "../../../library/graphs/strongly_connected_components/add_edges_strongly_connected.hpp"
35
#include "../scc_asserts.hpp"
4-
#include "../../../library/graphs/scc/add_edges_strongly_connected.hpp"
6+
57
int main() {
68
cin.tie(0)->sync_with_stdio(0);
79
int n, m;
@@ -16,8 +18,7 @@ int main() {
1618
auto [num_sccs, scc_id] = sccs(adj);
1719
cout << num_sccs << '\n';
1820
vector<vector<int>> each_scc(num_sccs);
19-
for (int i = 0; i < n; i++)
20-
each_scc[scc_id[i]].push_back(i);
21+
for (int i = 0; i < n; i++) each_scc[scc_id[i]].push_back(i);
2122
for (int i = num_sccs - 1; i >= 0; i--) {
2223
cout << sz(each_scc[i]) << " ";
2324
for (auto node : each_scc[i]) cout << node << " ";

tests/library_checker_aizu_tests/scc_asserts.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#pragma once
22
#include "../../library/contest/random.hpp"
3-
#include "../../library/graphs/scc/add_edges_strongly_connected.hpp"
4-
#include "../../library/graphs/scc/offline_incremental_scc.hpp"
3+
#include "../../library/graphs/strongly_connected_components/add_edges_strongly_connected.hpp"
4+
#include "../../library/graphs/strongly_connected_components/offline_incremental_scc.hpp"
55
void scc_asserts(const vector<vector<int>>& adj) {
66
int n = sz(adj);
77
auto [num_sccs, scc_id] = sccs(adj);

0 commit comments

Comments
 (0)