Skip to content

Commit

Permalink
Update data_structure/ordered_set/gen/max_random.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: NachiaVivias <71425187+NachiaVivias@users.noreply.github.com>
  • Loading branch information
maspypy and NachiaVivias authored Nov 11, 2024
1 parent de5cb00 commit d9bc898
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions data_structure/ordered_set/gen/max_random.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ vector<int> gen_prob(int seed) {
if (seed == 1 && t != 1) add = 1;
if (seed == 2 && t == 0) add = 1;
if (seed == 3 && t == 1) add = 1;
if (seed == 4 && t == 1) add = 1;
if (seed == 5 && t == 1) add = 1;
if (seed == 6 && t == 1) add = 1;
if (seed == 7 && t == 1) add = 1;
if (seed == 4 && t == 2) add = 1;
if (seed == 5 && t == 3) add = 1;
if (seed == 6 && t == 4) add = 1;
if (seed == 7 && t == 5) add = 1;
if (add) {
for (int i = 0; i < 100; ++i) S.emplace_back(t);
}
Expand Down

0 comments on commit d9bc898

Please sign in to comment.