Skip to content

Commit

Permalink
[math/counting_pirmes] Add three N ~ 100 cases
Browse files Browse the repository at this point in the history
Several submissions that contain undefined behavior (62015, 107115,
147826, 150290,150294, 150330, 160040) will fail in these test cases
when compiled with g++13.
  • Loading branch information
lpha-z committed Mar 24, 2024
1 parent bffd3ee commit 01ba1e9
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions math/counting_primes/gen/Grothendieck_prime_00.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
57
1 change: 1 addition & 0 deletions math/counting_primes/gen/small_prime_00.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
101
1 change: 1 addition & 0 deletions math/counting_primes/gen/small_prime_01.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
199
6 changes: 6 additions & 0 deletions math/counting_primes/hash.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"Grothendieck_prime_00.in": "1326faec3eb42dc72ddffe46daf3940b932f48b9799f6cbf28e80504e7b34958",
"Grothendieck_prime_00.out": "e6c21e8d260fe71882debdb339d2402a2ca7648529bc2303f48649bce0380017",
"example_00.in": "917df3320d778ddbaa5c5c7742bc4046bf803c36ed2b050f30844ed206783469",
"example_00.out": "7de1555df0c2700329e815b93b32c571c3ea54dc967b89e81ab73b9972b72d1d",
"example_01.in": "eea8254c7500ba3de996aa8ad6af399183f04e17d4a8102fde539dbc93a90012",
Expand Down Expand Up @@ -33,6 +35,10 @@
"small_03.out": "6771a70676ab80a525ede2a93df8acc8a41a0809cf8290562519929da6f6511d",
"small_04.in": "d405fe5a8ad4ef5a2467a341bc2d5f5a69f40d534ba5626c8ec61ed8d918d63d",
"small_04.out": "0e8ae555cd6bb5a690bca0c53b3caa06d017a96c633f1edfd01273f34a74e2b2",
"small_prime_00.in": "39b8dc3fc8b44765c8e6f1adee04c5b465e555ab791cc42d0d9e810d5b64297c",
"small_prime_00.out": "20d2add851bf39edcc6b5e830930f962db7e19dffa2cab8610eed551eda6c302",
"small_prime_01.in": "29ef5f0b7fc0c2facd22af7e616542825331312745dfc31f37423ab0b5e005ee",
"small_prime_01.out": "a5331f18877e9e1543361e44b4cb0a1f5f0ed5f8297d850bf1fcc68bd7a3ab5f",
"very_small_00.in": "4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865",
"very_small_00.out": "9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa",
"very_small_01.in": "53c234e5e8472b6ac51c1ae1cab3fe06fad053beb8ebfd8977b010655bfdd3c3",
Expand Down
6 changes: 6 additions & 0 deletions math/counting_primes/info.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/388"
[[tests]]
name = "random.cpp"
number = 5
[[tests]]
name = "Grothendieck_prime.in"
number = 1
[[tests]]
name = "small_prime.in"
number = 2

[params]
N_MAX = 100_000_000_000

0 comments on commit 01ba1e9

Please sign in to comment.