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/zalgorithm.hashstr-hashstr1.cpp
Line Branch Exec Source
1 #define AUTO_GENERATED
2 // competitive-verifier: PROBLEM https://judge.yosupo.jp/problem/zalgorithm
3 #include "../../../src/io/fastin/lib.hpp"
4 #include "../../../src/io/fastout/lib.hpp"
5 #include "../../../src/str/hash/lcpf/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 29 int main() {
18 29 strn s;
19 29 tifa_libs::fin_uint >> s;
20 29 hashstr hs;
21 29 hs.set(s);
22
2/2
✓ Branch 5 taken 9311639 times.
✓ Branch 6 taken 29 times.
9311668 flt_ (u32, i, 0, (u32)s.size()) tifa_libs::fout << tifa_libs::lcpf_hash(hs, hs, 0, i) << " \n"[i + 1 == s.size()];
23 29 return 0;
24 29 }
25