We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c98bff commit 7720fb2Copy full SHA for 7720fb2
1 file changed
tests/library_checker_aizu_tests/handmade_tests/count_paths.test.cpp
@@ -16,16 +16,14 @@ vector<vector<ll>> naive(const vector<vi>& adj) {
16
for (int node = u; node != v;
17
node = lc.next_on_path(node, v))
18
cnts_naive[path_length_edges][node]++;
19
- assert(path_length_edges < ssize(cnts_naive));
20
- assert(v < ssize(cnts_naive[path_length_edges]));
21
cnts_naive[path_length_edges][v]++;
22
}
23
24
return cnts_naive;
25
26
int main() {
27
cin.tie(0)->sync_with_stdio(0);
28
- for (int n = 1; n <= 1; n++) {
+ for (int n = 1; n <= 100; n++) {
29
vector<vi> adj(n);
30
for (int i = 1; i < n; i++) {
31
int par = rnd<int>(0, i - 1);
0 commit comments