GCC Code Coverage Report


Directory: ./
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Coverage Exec / Excl / Total
Lines: 100.0% 8 / 0 / 8
Functions: 100.0% 1 / 0 / 1
Branches: 100.0% 2 / 0 / 2

test/cpv/library-checker-string/runenumerate.hashstr-hashstr1.cpp
Line Branch Exec Source
1 #define AUTO_GENERATED
2 // competitive-verifier: PROBLEM https://judge.yosupo.jp/problem/runenumerate/
3 #include "../../../src/io/fastin/lib.hpp"
4 #include "../../../src/io/fastout/lib.hpp"
5 #include "../../../src/str/run/hash/lib.hpp"
6
7 using namespace tifa_libs;
8 CEXP u32 MOD = 998244353;
9
10 #include "../../../src/math/ds/mint/be61n1/lib.hpp"
11 #include "../../../src/str/hash/substr/lib.hpp"
12
13 using namespace tifa_libs;
14 using mint = mint_2e61n1;
15 using hashstr = hash_substr<mint>;
16
17 24 int main() {
18 24 strn s;
19 24 tifa_libs::fin_uint >> s;
20 24 auto res = tifa_libs::run_hash<hashstr>(s);
21 24 tifa_libs::fout << res.size() << '\n';
22
2/2
✓ Branch 11 taken 352720 times.
✓ Branch 12 taken 24 times.
352744 for (auto& [a, b, c] : res) tifa_libs::fout << a << ' ' << b << ' ' << c << '\n';
23 24 return 0;
24 24 }
25