Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
maspypy committed Sep 28, 2024
1 parent 8c344f0 commit 79fa471
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
6 changes: 3 additions & 3 deletions linear_algebra/system_of_linear_equations_mod_2/gen/base.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ void gen_yes(int n, int m, int r, Random &gen) {
}
}
// shuffle
gen.shuffle(a.bgein(), a.end());
gen.shuffle(a.begin(), a.end());

BS x;
for (int i = 0; i < m; ++i) x[i] = gen.uniform_bool();
Expand Down Expand Up @@ -61,8 +61,8 @@ void gen_no(int n, int m, int r, Random &gen) {
// shuffle
vector<int> new_idx(n);
for (int i = 0; i < n; ++i) new_idx[i] = i;
gen.shuffle(new_idx.bgein(), new_idx.end());
vc<BS> new_a(n);
gen.shuffle(new_idx.begin(), new_idx.end());
vector<BS> new_a(n);
BS new_y;
for (int i = 0; i < n; ++i) {
new_a[new_idx[i]] = a[i];
Expand Down
30 changes: 15 additions & 15 deletions linear_algebra/system_of_linear_equations_mod_2/hash.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,24 @@
"example_01.out": "ee3aa64bb94a50845d5024cd4bd20202a4567aed5cd5328c0d97e9920775fc28",
"example_02.in": "cdb150eaa586f422a1e0429b7189b4c3818edda13433e81a51e326e4265fe037",
"example_02.out": "2a7863cc0aeace6e8a08f3c5c2f564c685367bc60c65b1a65b211e6f21a28204",
"max_lowrank_00.in": "622f2d91f9ef8a23cad53e98c283630d465d0786d55f04f91a7863a5db0a0791",
"max_lowrank_00.in": "6638c04e8e68603cf0b5793646e5cd97da74845a2e698fcbe4926153e0b034f7",
"max_lowrank_00.out": "1cbff4f7984fa485b4bafa2e7cb87760c081628850b437fa2ee6db792bdaa41f",
"max_lowrank_01.in": "95efebc3fd6e32654e05799e67d8866270a2a45fb6c34de0222ab0ed3dfdf241",
"max_lowrank_01.out": "ee3aa64bb94a50845d5024cd4bd20202a4567aed5cd5328c0d97e9920775fc28",
"max_lowrank_02.in": "2a0123f045753bb38fb26cd58d89cb00fe84d628642dce219b1f5d43629f526b",
"max_lowrank_02.out": "f635b158134b499029663a65792b323c243639635802d94b01784028ba49e49d",
"max_lowrank_02.in": "bbe5a65f8b0b606dcb1f30e52a446f57b9bdd14fee234e58c2187de7fe0b5544",
"max_lowrank_02.out": "95c6e77f883f3251cf7086e9974ae5dacf90a4460971735c0de7828efb72ce4f",
"max_lowrank_03.in": "c733581ba1a33a0408af9d2b9360ce127485f4bcca72d7748f732e7c1749b339",
"max_lowrank_03.out": "ee3aa64bb94a50845d5024cd4bd20202a4567aed5cd5328c0d97e9920775fc28",
"max_lowrank_04.in": "1a017cba5cf1987414e1b287222afc21b220553511923c9f9cea152ccdd83655",
"max_lowrank_04.out": "7c19d9768fd61a6bade4742b69d1b8bca4302d917f20d6a94f08d4e78932a6f1",
"max_lowrank_04.in": "8ee5123b7f3cb3a852d83ff13b9f47badb42f21b322d10ead350c32005854b52",
"max_lowrank_04.out": "c6dde9b67e9ede353faaff3093c1a3889f058f6a37802a5fff5607dd64a9af6e",
"max_lowrank_05.in": "fe036131d93f2659b9010158fc40029880138f0bff348a379d0d8a33c3389b5c",
"max_lowrank_05.out": "ee3aa64bb94a50845d5024cd4bd20202a4567aed5cd5328c0d97e9920775fc28",
"max_lowrank_06.in": "1e96941526e3a8b9313cfdaa0ff005c3d6eafea35b60c83809d214940b494400",
"max_lowrank_06.out": "203420379b85efa5898f68303408b33ee81b5cc0a017dea180ff002c4b75be86",
"max_lowrank_06.in": "119dcae58eb863729ac38fa8e815bcba0dc4b790e110fd1dd787b9720b627a4a",
"max_lowrank_06.out": "1092c7fc6c2d6a0f0d35bd04a776e906b8ff376015c5d912380d93fa81ead70a",
"max_lowrank_07.in": "5aa7e77ca589f3cde15bb705cdf28f84e8c18c538a2e49ef1f6425aa045523ba",
"max_lowrank_07.out": "ee3aa64bb94a50845d5024cd4bd20202a4567aed5cd5328c0d97e9920775fc28",
"max_lowrank_08.in": "b1fde71bd47007d901be1be0cb12d82d71b8eca75533f591a2858e4b4d7e6ec7",
"max_lowrank_08.out": "dae226e7c19621220561040f04ca536a685a3cfcac77c605e9db9fb27eec2972",
"max_lowrank_08.in": "a0c42ec11aae679d3fc0a57eaa7864c0a0b26c156daf8f1f32192ae12292cda7",
"max_lowrank_08.out": "870d275ec5452b46a76b780214dd72aa6139be340f09fd39b6666b8ff5395e27",
"max_lowrank_09.in": "88f81aeb6ebddf4267a24695d5f88ec1aaa9f4b3a952dbe865b81406fd7268fd",
"max_lowrank_09.out": "ee3aa64bb94a50845d5024cd4bd20202a4567aed5cd5328c0d97e9920775fc28",
"max_random_00.in": "e6e5a5f028dd1e1ac24bd8cae64c67b022c2da23c667e545bc8bdb30dbf382c3",
Expand All @@ -35,9 +35,9 @@
"max_random_03.out": "ee3aa64bb94a50845d5024cd4bd20202a4567aed5cd5328c0d97e9920775fc28",
"max_random_04.in": "0bb65fc99cb2a29a0b82e11a9502b0ecc50e8d5b22904fa998cd66b593a29b61",
"max_random_04.out": "a751f1e4acb5cfc16d7daabcc4c6073b675dd9e20e8094e9cd8e903a83e7060e",
"max_small_00.in": "33ab097535c1222a6f266dbf31e3207475d04e8899da569ad20f4f45a3000be5",
"max_small_00.out": "ec3563a43094569f1de39dcba0e60185decbc9bc0b579ed187af549e1165267e",
"max_small_01.in": "81a06c99c40e3624143c150af14277694fc98ca419c1c238502632000388c466",
"max_small_00.in": "423f3ba9fd2b89970fd099f1a98e78add8c8702f9996662a375417cbf98a1005",
"max_small_00.out": "2b3fcb7b98f30fd92c50d331255c08440ed9c423a5527f7caf80018139f6a07c",
"max_small_01.in": "2e79d00621d48d6d2f9531f9c60deec25cbcc195315312f2db01686931a13f73",
"max_small_01.out": "ee3aa64bb94a50845d5024cd4bd20202a4567aed5cd5328c0d97e9920775fc28",
"random_00.in": "611c05258c9bed06038e9e667a33f77ce649ee071327c68e4e302e93428d1cfc",
"random_00.out": "527bee4215a969e7872cef01ed103212834fa4bf4128acd5de4ef21794a9510a",
Expand All @@ -49,9 +49,9 @@
"random_03.out": "ee3aa64bb94a50845d5024cd4bd20202a4567aed5cd5328c0d97e9920775fc28",
"random_04.in": "af3c71dd2b28cfbc25b8de3f29760b9867f4ee1019e6660959c87e8464f81aac",
"random_04.out": "ee3aa64bb94a50845d5024cd4bd20202a4567aed5cd5328c0d97e9920775fc28",
"small_max_00.in": "b30c7bfb48bef07afa12115440b8cc1651450b582a44364f79d2132e46abc997",
"small_max_00.out": "83154d0bdfe38127976acccbfe933ef652e52a2463f5af87af18013c7ccdde52",
"small_max_01.in": "7a755cca1c0963f80d8c245a73b90a347548cc5a1bf08662c1fa03392928a7fe",
"small_max_00.in": "89ea26b22a2432afa0ada82090b1608e90521dbbbc921ab16e9f59ff685ae8cb",
"small_max_00.out": "bfbfd40999eb4e2006d88888007c749b982dd1a6398e64d77fc5f863d19b6060",
"small_max_01.in": "3e7a314271b1af0e235b589080b1e29c85febd83dd50d43cf3747a9b770f4c16",
"small_max_01.out": "ee3aa64bb94a50845d5024cd4bd20202a4567aed5cd5328c0d97e9920775fc28",
"small_random_00.in": "63f62781d1b4d9da4e62c279b3fa00adf84b016a817f0c83020c90bdffe5c492",
"small_random_00.out": "e30db10f9e3d4cb0abc5e29aeebbeaccedb49322abf4905f0de9cde81cc69bf4",
Expand Down

0 comments on commit 79fa471

Please sign in to comment.