test/cpv/library-checker-number_theory/counting_squarefrees.cpp
| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | // competitive-verifier: PROBLEM https://judge.yosupo.jp/problem/counting_squarefrees | ||
| 2 | #include "../../../src/nt/mfsum/sqrfree_cnt/lib.hpp" | ||
| 3 | |||
| 4 | using namespace tifa_libs; | ||
| 5 | 25 | int main() { | |
| 6 |
1/2✓ Branch 2 taken 25 times.
✗ Branch 3 not taken.
|
25 | std::cin.tie(nullptr)->std::ios::sync_with_stdio(false); |
| 7 | u64 n; | ||
| 8 |
1/2✓ Branch 1 taken 25 times.
✗ Branch 2 not taken.
|
25 | std::cin >> n; |
| 9 |
2/4✓ Branch 2 taken 25 times.
✗ Branch 3 not taken.
✓ Branch 5 taken 25 times.
✗ Branch 6 not taken.
|
25 | std::cout << sqrfree_cnt(n) << '\n'; |
| 10 | 25 | return 0; | |
| 11 | } | ||
| 12 |